@wordpress/block-library
Version:
Block library for the WordPress editor.
22 lines (20 loc) • 1.42 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.htmlElementMessages = void 0;
var _i18n = require("@wordpress/i18n");
/**
* WordPress dependencies
*/
const htmlElementMessages = exports.htmlElementMessages = {
article: (0, _i18n.__)('The <article> element should represent a self-contained, syndicatable portion of the document.'),
aside: (0, _i18n.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),
div: (0, _i18n.__)('The <div> element should only be used if the block is a design element with no semantic meaning.'),
footer: (0, _i18n.__)('The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'),
header: (0, _i18n.__)('The <header> element should represent introductory content, typically a group of introductory or navigational aids.'),
main: (0, _i18n.__)('The <main> element should be used for the primary content of your document only.'),
nav: (0, _i18n.__)('The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'),
section: (0, _i18n.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element.")
};
//# sourceMappingURL=messages.js.map