Missing or Improperly Labeled Landmark Regions

Missing or Improperly Labeled Landmark Regions

WCAG Focus: WCAG 1.3.1 (A), 2.4.1 (A)

HTML5 landmark elements—<header>, <nav>, <main>, <aside>, and <footer>—allow screen reader users to jump directly to navigation, primary content, or sidebars in a single keystroke. Themes built purely out of <div> containers, or themes with multiple <nav> regions lacking distinct aria-label attributes, leave assistive technology users lost in undifferentiated markup.

Why This Pattern Violates WCAG

WCAG 1.3.1 Info and Relationships (Level A) and 2.4.1 Bypass Blocks (Level A) rely on programmatic landmarks to convey page regions and provide bypass navigation.

When two <nav> elements exist (e.g., Primary Menu and Footer Menu), each needs a unique aria-label so screen readers distinguish them.

Code Comparison

Inaccessible Div Soup & Unlabeled Navs

<div class="header"><nav>...</nav></div>
<div class="content">...</div>
<div class="footer"><nav>...</nav></div>

Compliant Semantic Landmarks With Labels

<header><nav aria-label="Primary">...</nav></header>
<main id="main-content">...</main>
<footer><nav aria-label="Footer">...</nav></footer>

How to Fix It in WordPress

  • Ensure every template outputs a single visible <main> landmark wrapping primary content.
  • Label repeated <nav> or <aside> landmarks with concise aria-label attributes (avoid repeating the word "navigation" inside the label).

Finding This Issue Automatically

Page builders and custom child themes frequently drop <main> wrappers or duplicate <nav> landmarks without labels. Running the WP ADA Compliance Check plugin audits your document landmarks automatically and can automatically fix missing or incorrect ARIA landmark labeling.

Subscribe

Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

Cart Accessibility Tools
hide