{"id":900,"date":"2026-11-24T15:00:02","date_gmt":"2026-11-24T15:00:02","guid":{"rendered":"https:\/\/html-editor-online.com\/blog?p=900"},"modified":"2026-11-24T15:00:02","modified_gmt":"2026-11-24T15:00:02","slug":"section-with-heading-not-a-region-landmark","status":"publish","type":"post","link":"https:\/\/html-editor-online.com\/blog\/section-with-heading-not-a-region-landmark\/","title":{"rendered":"Why Is My Section With a Heading Not a Region Landmark?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A section with heading not a region landmark is expected behavior, not a bug. A visible <code>h2<\/code> describes the content, but it does not automatically become the accessible name of the <code>section<\/code> that contains it. As checked on November 19, 2026, the ARIA in HTML specification gives a <code>section<\/code> the <code>region<\/code> role only when it has an accessible name. Without a name, its implicit role is generic, and the heading inside it is still a heading.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The fix is to name the section by pointing <code>aria-labelledby<\/code> at the heading&#8217;s <code>id<\/code>, and to do that only for areas that deserve a landmark. You can edit and compare both versions in the <a href=\"https:\/\/html-editor-online.com\/editors\/html\" title=\"HTML Code Editor\">HTML Code Editor<\/a>, which gives you a sandboxed live preview. That preview shows what the page looks like, not what role the section has, so I also cover how to verify the result.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li class=\"\"><a href=\"#why-a-section-with-heading-not-a-region-landmark-is-the-default-1\">Why a section with heading not a region landmark is the default<\/a><\/li><li class=\"\"><a href=\"#compare-an-ordinary-headed-section-with-a-named-region-2\">Compare an ordinary headed section with a named region<\/a><\/li><li class=\"\"><a href=\"#name-the-section-with-aria-labelledby-or-aria-label-as-a-fallback-3\">Name the section with aria-labelledby, or aria-label as a fallback<\/a><\/li><li class=\"\"><a href=\"#when-a-region-landmark-helps-and-when-an-ordinary-section-is-enough-4\">When a region landmark helps and when an ordinary section is enough<\/a><\/li><li class=\"\"><a href=\"#fix-a-section-with-heading-not-a-region-landmark-in-the-html-code-editor-5\">Fix a section with heading not a region landmark in the HTML Code Editor<\/a><\/li><li class=\"\"><a href=\"#verify-the-result-and-know-the-limits-6\">Verify the result and know the limits<\/a><\/li><li class=\"\"><a href=\"#frequently-asked-questions\">Frequently asked questions<\/a><\/li><li class=\"\"><a href=\"#next-steps\">Next steps<\/a><\/li><li class=\"\"><a href=\"#sources\">Sources and further reading<\/a><\/li><\/ul><\/nav><\/div>\n\n\n<div class=\"wp-block-image heo-auto-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-1-847-1-01cb451dfd33db96-1024x576.jpg\" alt=\"Conceptual illustration showing a heading marker and a separate name tag above a content block\" class=\"wp-image-903\" srcset=\"https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-1-847-1-01cb451dfd33db96-1024x576.jpg 1024w, https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-1-847-1-01cb451dfd33db96-300x169.jpg 300w, https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-1-847-1-01cb451dfd33db96-768x432.jpg 768w, https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-1-847-1-01cb451dfd33db96.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"why-a-section-with-heading-not-a-region-landmark-is-the-default-1\">Why a section with heading not a region landmark is the default<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Two separate structures are at work here. A heading creates an outline entry that people can jump between with heading navigation. A landmark role creates a named area that people can jump between with landmark navigation. Putting an <code>h2<\/code> inside a <code>section<\/code> only does the first job.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The WHATWG HTML Standard describes the <code>section<\/code> element as a thematic grouping of content, typically with a heading. It does not say that every section must be exposed as a landmark. The ARIA in HTML specification adds the condition: a <code>section<\/code> maps to <code>region<\/code> when it has an accessible name, and to generic when it does not.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An accessible name is the text that the browser exposes in its accessibility tree for an element. It is computed from sources such as <code>aria-labelledby<\/code>, <code>aria-label<\/code>, or, for some elements, their own content. For a <code>section<\/code>, the heading text inside it is not one of those sources unless you point to it explicitly.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Markup<\/th><th>Role of the section<\/th><th>Role of the heading<\/th><\/tr><\/thead><tbody><tr><td>Heading inside, no naming attribute<\/td><td>generic<\/td><td>heading<\/td><\/tr><tr><td><code>aria-labelledby<\/code> pointing at the heading<\/td><td>region<\/td><td>heading<\/td><\/tr><tr><td><code>aria-label<\/code> with a non-empty value<\/td><td>region<\/td><td>heading, if one exists<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Notice that the heading column never changes. Naming the section does not alter the heading, and leaving the section unnamed does not break the heading. If your real problem is the outline itself, such as subheadings that look right but have <a href=\"https:\/\/html-editor-online.com\/blog\/wysiwyg-heading-levels-out-of-order\/\" title=\"WYSIWYG Heading Levels Out of Order\">heading levels out of order<\/a>, that is a different fix and a region will not solve it.<\/p>\n\n\n<div class=\"wp-block-image heo-auto-image\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6b06f8dc9fdca&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b06f8dc9fdca\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-2-847-2-42145749e90b9321-1024x576.jpg\" alt=\"Two identical drawers, one with a label holder, representing an unnamed and a named section\" class=\"wp-image-905\" srcset=\"https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-2-847-2-42145749e90b9321-1024x576.jpg 1024w, https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-2-847-2-42145749e90b9321-300x169.jpg 300w, https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-2-847-2-42145749e90b9321-768x432.jpg 768w, https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-2-847-2-42145749e90b9321.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"compare-an-ordinary-headed-section-with-a-named-region-2\">Compare an ordinary headed section with a named region<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Start with the markup most people write. This section has a visible heading and nothing else that names it.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;section&gt;\n  &lt;h2&gt;Delivery details&lt;\/h2&gt;\n  &lt;p&gt;Orders ship within three business days.&lt;\/p&gt;\n&lt;\/section&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here the section is generic. It still groups the content and the heading still appears in the heading outline, which is often all a subsection needs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now the named version. The heading gets an <code>id<\/code>, and the section references that <code>id<\/code> with <code>aria-labelledby<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;section aria-labelledby=&quot;delivery-heading&quot;&gt;\n  &lt;h2 id=&quot;delivery-heading&quot;&gt;Delivery details&lt;\/h2&gt;\n  &lt;p&gt;Orders ship within three business days.&lt;\/p&gt;\n&lt;\/section&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Visually, the two examples are identical. The difference is only in the accessibility tree, where the second section now has an accessible name taken from the heading text, so its implicit role is <code>region<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Two tempting shortcuts do not do the job. Adding an <code>id<\/code> to the heading alone gives you a link target and nothing else, because nothing references it. Adding <code>role=\"region\"<\/code> to the section is not the recommended fix either, since the native element already maps to region once it has a name, and the attribute does not supply the name.<\/p>\n\n\n<div class=\"wp-block-image heo-auto-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-3-847-3-b51fca2b9538c377-1024x576.jpg\" alt=\"A thread tying a title card to a content panel, illustrating an aria-labelledby reference\" class=\"wp-image-907\" srcset=\"https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-3-847-3-b51fca2b9538c377-1024x576.jpg 1024w, https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-3-847-3-b51fca2b9538c377-300x169.jpg 300w, https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-3-847-3-b51fca2b9538c377-768x432.jpg 768w, https:\/\/html-editor-online.com\/blog\/wp-content\/uploads\/2026\/11\/section-with-heading-not-a-region-landmark-image-3-847-3-b51fca2b9538c377.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"name-the-section-with-aria-labelledby-or-aria-label-as-a-fallback-3\">Name the section with aria-labelledby, or aria-label as a fallback<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The pairing between the attribute and the heading is the whole technique, so check these details each time:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The value of <code>aria-labelledby<\/code> must match the heading&#8217;s <code>id<\/code> exactly, including letter case.<\/li>\n\n\n\n<li>Every <code>id<\/code> on the page must be unique. A duplicate means the reference can resolve to the wrong element.<\/li>\n\n\n\n<li>The attribute goes on the <code>section<\/code>, and the <code>id<\/code> goes on the heading inside it.<\/li>\n\n\n\n<li>If the referenced <code>id<\/code> does not exist, do not expect a name from it. Treat that as a broken reference and fix it.<\/li>\n\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Referencing visible text is usually the best choice because the name and the heading cannot drift apart when someone edits the heading later. When an important area has no suitable visible heading, <code>aria-label<\/code> can supply the name instead.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;section aria-label=&quot;Shipping summary&quot;&gt;\n  &lt;p&gt;Free returns for 30 days.&lt;\/p&gt;\n&lt;\/section&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Keep names short and specific, and avoid repeating the word &#8220;region&#8221; in them. The role is already conveyed separately, so &#8220;Shipping summary&#8221; is better than &#8220;Shipping summary region&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are building this in a visual editor, be aware that attributes can be lost. The homepage WYSIWYG editor is a Quill rich-text editor that removes markup it does not support, so I would write this structure in the code editor instead. I also cover a case where <a href=\"https:\/\/html-editor-online.com\/blog\/wysiwyg-source-view-removes-class-and-id-attributes\/\" title=\"WYSIWYG Source View Removes Class and Id Attributes\">WYSIWYG source view removes class and id attributes<\/a>, which is exactly the kind of loss that would break an <code>aria-labelledby<\/code> reference.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"when-a-region-landmark-helps-and-when-an-ordinary-section-is-enough-4\">When a region landmark helps and when an ordinary section is enough<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A landmark is a shortcut. Assistive technology users can list or jump between landmarks to move around a page quickly. That is valuable when the landmark marks an area a person would plausibly want to reach directly, and it is noise when every block of content claims the same status.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before reaching for <code>region<\/code>, check whether a more specific landmark fits. The main content, a navigation block and complementary content each have their own native element, and those are better choices than a generic named region. Use a named region for significant areas that do not fit those roles.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Good candidates are areas such as an order summary on a checkout page, a pricing comparison block, or a help and contact panel. Poor candidates include each question in an FAQ, each card in a grid, and every subsection of a long article. Those can stay as ordinary sections with ordinary headings.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"html\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;main&gt;\n  &lt;h1&gt;Checkout&lt;\/h1&gt;\n  &lt;section aria-labelledby=&quot;order-summary-heading&quot;&gt;\n    &lt;h2 id=&quot;order-summary-heading&quot;&gt;Order summary&lt;\/h2&gt;\n    &lt;p&gt;Two items, free standard delivery.&lt;\/p&gt;\n  &lt;\/section&gt;\n  &lt;section&gt;\n    &lt;h2&gt;Gift options&lt;\/h2&gt;\n    &lt;p&gt;Add a message to your parcel.&lt;\/p&gt;\n  &lt;\/section&gt;\n&lt;\/main&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, only the order summary is a named region. The gift options block is a normal headed section, and nothing is lost by leaving it that way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If a page does have several regions, give each one a distinct, meaningful name. Two regions both called &#8220;Details&#8221; make landmark navigation harder to use. WAI guidance notes that landmarks lose value as their number grows, and it suggests keeping them to around seven or fewer. Treat that as a rule of thumb, not a requirement or a measured limit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"fix-a-section-with-heading-not-a-region-landmark-in-the-html-code-editor-5\">Fix a section with heading not a region landmark in the HTML Code Editor<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The HTML Code Editor gives you syntax highlighting, auto-closing tags, a sandboxed live preview, and beautify or minify actions. It has no validation, so it will not warn you about a mismatched <code>id<\/code> or a duplicate one. Work through the change like this:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Paste or type the section you want to inspect. Use the unnamed example above if you are practicing.<\/li>\n\n\n\n<li>Decide whether the area deserves a landmark. If it is only a subsection of the surrounding content, stop here and leave it as it is.<\/li>\n\n\n\n<li>Add a unique <code>id<\/code> to the heading, for example <code>order-summary-heading<\/code>.<\/li>\n\n\n\n<li>Add <code>aria-labelledby<\/code> to the <code>section<\/code> with the same value.<\/li>\n\n\n\n<li>Look at the live preview. It should look exactly the same as before, which is the expected result because the change is not visual.<\/li>\n\n\n\n<li>Search your full page source for the new <code>id<\/code> and confirm it appears only once as an <code>id<\/code>.<\/li>\n\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If the markup has become hard to read after edits, the <a href=\"https:\/\/html-editor-online.com\/tools\/html_beautifier\" title=\"HTML Beautifier\">HTML Beautifier<\/a> can re-indent it. A beautifier only improves layout. It does not repair invalid markup, and it cannot tell you whether your naming is correct.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keep the original markup somewhere before you minify anything. Minification is about file size and has nothing to do with this fix, so there is no reason to run it while you are checking structure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"verify-the-result-and-know-the-limits-6\">Verify the result and know the limits<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Several checks are involved, and each answers a different question. Syntax tells you the markup parses. Reference checks tell you the <code>id<\/code> and <code>aria-labelledby<\/code> values match. The accessibility tree tells you what role and name the browser actually computed. Assistive-technology testing tells you whether the page is usable. A good-looking preview proves none of these by itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To confirm the role and name, load the real rendered page and inspect the section in your browser&#8217;s developer tools accessibility view. Look for a role of region and a name that matches the heading text. Then, if the page matters, test landmark and heading navigation with the assistive technologies your audience uses, in the actual page context.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I will not claim that a particular browser and screen reader pair announces this example in a particular way, because that depends on the combination and I have not tested every one. This guide also makes no browser-version compatibility claim.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The sandboxed preview in an editor is also not the same environment as your site. Layout can differ, as in the case where the <a href=\"https:\/\/html-editor-online.com\/blog\/html-editor-preview-media-query-uses-iframe-width\/\" title=\"HTML Editor Preview Media Query Uses Iframe Width\">HTML editor preview media query uses iframe width<\/a> instead of the browser window. Scripts, templates and other markup on your real page can also change ids or insert extra landmarks, so always check the final output, not just the snippet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"frequently-asked-questions\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq-1\">Does a heading inside a section make it a region landmark?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. The heading stays a heading, but it does not name the section. A section element has the implicit role region only when it has an accessible name. Otherwise its role is generic.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq-2\">Should I add role=&quot;region&quot; to fix it?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">That is not the recommended fix. A named section already maps to region, and the attribute does not supply the missing name. Name the section with aria-labelledby or aria-label instead.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq-3\">Is aria-labelledby or aria-label better?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Prefer aria-labelledby when a suitable visible heading exists, because the name stays in sync with the text people can see. Use aria-label when an important area has no good visible heading to reference.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq-4\">Should every section have aria-labelledby?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. Reserve named regions for significant areas users would benefit from finding through landmark navigation, especially when no more specific landmark fits. Ordinary headed subsections can remain ordinary sections.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq-5\">How many region landmarks are too many?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There is no fixed limit. WAI guidance says landmarks lose value as their number grows and suggests seven or fewer as a rule of thumb. Judge by whether each region helps someone find something.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq-6\">Is an unnamed section harmful to accessibility?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Not by itself. It is a generic grouping, and the heading inside it still works for heading navigation. It only lacks landmark status, which is often what you want for a subsection.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"faq-7\">How do I check the role and name of my section?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Inspect the section in your browser&#8217;s developer tools accessibility view on the rendered page and look for the role and name. Then test navigation with relevant assistive technologies. An editor preview is not an accessibility audit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"next-steps\">Next steps<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A section with heading not a region landmark is usually the correct, intended result. The heading describes the content, but only an accessible name turns the section into a region. Add a matching <code>id<\/code> and <code>aria-labelledby<\/code> to the few areas people would want to jump to, use <code>aria-label<\/code> when no visible heading fits, and leave ordinary subsections alone. As a next step, open your page in the HTML Code Editor, mark at most a handful of key areas, then confirm the role and name in your browser&#8217;s accessibility tree on the rendered page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Related tools and resources on HTML Editor Online:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/html-editor-online.com\/editors\/html\">HTML Code Editor<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/html-editor-online.com\/blog\/wysiwyg-heading-levels-out-of-order\/\">WYSIWYG Heading Levels Out of Order<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/html-editor-online.com\/blog\/wysiwyg-source-view-removes-class-and-id-attributes\/\">WYSIWYG Source View Removes Class and Id Attributes<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/html-editor-online.com\/tools\/html_beautifier\">HTML Beautifier<\/a><\/li>\n\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"sources\">Sources and further reading<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.w3.org\/WAI\/ARIA\/apg\/patterns\/landmarks\/examples\/region.html\" target=\"_blank\" rel=\"noopener\">Region Landmark: ARIA Landmarks Example<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.w3.org\/WAI\/ARIA\/apg\/patterns\/landmarks\/\" target=\"_blank\" rel=\"noopener\">Landmarks Pattern | APG | WAI | W3C<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/blog\/aria-accessibility-html-landmark-roles\/\" target=\"_blank\" rel=\"noopener\">Using HTML landmark roles to improve accessibility<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/html.spec.whatwg.org\/multipage\/sections.html\" target=\"_blank\" rel=\"noopener\">HTML Standard<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\/Reference\/Elements\/section\" target=\"_blank\" rel=\"noopener\">HTML generic section element &#8211; HTML | MDN<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.w3.org\/TR\/html-aria\/\" target=\"_blank\" rel=\"noopener\">ARIA in HTML<\/a><\/li>\n\n\n<\/ul>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A section with a heading is not a region landmark until it has a name. Learn the aria-labelledby fix and when to leave sections alone.<\/p>\n","protected":false},"author":1,"featured_media":901,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[290,285,286,291,292,289,43],"class_list":["post-900","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html-tips","tag-accessible-name","tag-aria-labelledby","tag-html-accessibility","tag-html-section-element","tag-landmark-navigation","tag-region-landmark","tag-semantic-html"],"_links":{"self":[{"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/posts\/900","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/comments?post=900"}],"version-history":[{"count":4,"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/posts\/900\/revisions"}],"predecessor-version":[{"id":908,"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/posts\/900\/revisions\/908"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/media\/901"}],"wp:attachment":[{"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/media?parent=900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/categories?post=900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html-editor-online.com\/blog\/wp-json\/wp\/v2\/tags?post=900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}