Heading Tags Nested Incorrectly (H1 Before H2, H2 Before H3, Etc.)

Heading Tags Nested Incorrectly (H1 Before H2, H2 Before H3, Etc.)

WCAG Focus: WCAG 1.3.1 (A), 2.4.6 (AA)

Authors and theme designers frequently pick an H4 or H5 block simply because its default font size looks prettier than an H2. Jumping straight from <h1> to <h3>—or placing an <h4> in the sidebar before the main <h2>—shatters the logical outline of the page.

Why This Pattern Violates WCAG

WCAG 1.3.1 Info and Relationships (Level A) expects heading hierarchy to reflect true parent-child section structure.

Screen reader users navigate long WordPress articles by stepping through heading levels (H1 → H2 → H3). Skipped levels make readers wonder if entire subsections are missing or inaccessible.

Code Comparison

Inaccessible Skipped Heading Hierarchy

<h1>WordPress Accessibility Guide</h1>
<h4>1. Getting Started</h4>

Compliant Sequential Heading Hierarchy

<h1>WordPress Accessibility Guide</h1>
<h2 class="text-sm-style">1. Getting Started</h2>

How to Fix It in WordPress

  • Follow strict sequential nesting: one H1 for the page title, H2 for major sections, H3 for subsections.
  • Use CSS typography classes or Gutenberg block font-size controls to adjust visual size without changing semantic heading levels.

Finding This Issue Automatically

Even careful writers skip heading levels when widget areas or footer columns inject unexpected H4s above main content. Running a scan with the WP ADA Compliance Check plugin maps heading hierarchy across the entire rendered page and flags out-of-order nesting automatically.

WCAG References & Supporting Materials

WCAG Success Criteria

Supporting Documentation & Guides

Subscribe

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

Cart Accessibility Tools
hide