UNPKG

@wordpress/block-editor

Version:
8 lines (7 loc) 2.24 kB
{ "version": 3, "sources": ["../../../src/components/html-element-control/messages.js"], "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Messages providing helpful descriptions for HTML elements.\n */\nexport const htmlElementMessages = {\n\ta: __(\n\t\t'The <a> element should be used for links that navigate to a different page or to a different section within the same page.'\n\t),\n\tarticle: __(\n\t\t'The <article> element should represent a self-contained, syndicatable portion of the document.'\n\t),\n\taside: __(\n\t\t\"The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content.\"\n\t),\n\tbutton: __(\n\t\t'The <button> element should be used for interactive controls that perform an action on the current page, such as opening a modal or toggling content visibility.'\n\t),\n\tdiv: __(\n\t\t'The <div> element should only be used if the block is a design element with no semantic meaning.'\n\t),\n\tfooter: __(\n\t\t'The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'\n\t),\n\theader: __(\n\t\t'The <header> element should represent introductory content, typically a group of introductory or navigational aids.'\n\t),\n\tmain: __(\n\t\t'The <main> element should be used for the primary content of your document only.'\n\t),\n\tnav: __(\n\t\t'The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'\n\t),\n\tsection: __(\n\t\t\"The <section> element should represent a standalone portion of the document that can't be better represented by another element.\"\n\t),\n};\n"], "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,kBAAmB;AAKZ,IAAM,sBAAsB;AAAA,EAClC,OAAG;AAAA,IACF;AAAA,EACD;AAAA,EACA,aAAS;AAAA,IACR;AAAA,EACD;AAAA,EACA,WAAO;AAAA,IACN;AAAA,EACD;AAAA,EACA,YAAQ;AAAA,IACP;AAAA,EACD;AAAA,EACA,SAAK;AAAA,IACJ;AAAA,EACD;AAAA,EACA,YAAQ;AAAA,IACP;AAAA,EACD;AAAA,EACA,YAAQ;AAAA,IACP;AAAA,EACD;AAAA,EACA,UAAM;AAAA,IACL;AAAA,EACD;AAAA,EACA,SAAK;AAAA,IACJ;AAAA,EACD;AAAA,EACA,aAAS;AAAA,IACR;AAAA,EACD;AACD;", "names": [] }