WCAG fix guide

How to Fix Heading Structure (WCAG 2.2)

Last reviewed 3 min read

Applies to: SC 1.3.1 Info and Relationships (A) · SC 2.4.6 Headings and Labels (AA) · SC 2.4.10 Section Headings (AAA)

Screen reader users often navigate by headings, so headings must reflect the real structure of the content (W3C headings tutorial).

What WCAG actually requires (and what it doesn't)

How to fix

  1. Extract the outline (e.g. with the browser extension HeadingsMap or a screen reader's headings list).
  2. Have one h1 that describes the page, then h2 for main sections and h3 for subsections.
  3. Turn fake headings (<p><strong>) into real headings; turn decorative "headings" (taglines) into paragraphs.
  4. Control size with CSS, not heading level.

CMS-specific steps

WordPress, Shopify, Webflow, Squarespace and Wix are trademarks of their respective owners. Glimscope is not affiliated with or endorsed by any of them.

What automated tools can and can't tell you: Automated checkers (including axe-core, which our monitor uses) can flag many instances of this issue, but they cannot judge everything. A human still has to check meaning and context. For scale: Deque reports that in its own sample of first-time audits, its automated tests found 57.38% of issues by volume (Deque report). That is Deque's figure for its sample, not a detection rate for any one tool, and it means a large share of issues still needs manual testing. Scanners can flag empty headings and level skips. They cannot tell whether bold text is really a heading, or whether heading text describes its section. Automated tests find only some accessibility issues; manual testing is still required. Not legal advice.

Manual checklist

Sources

  1. www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html
  2. www.w3.org/WAI/WCAG22/Understanding/headings-and-labels.html
  3. www.w3.org/WAI/WCAG22/Understanding/section-headings.html
  4. www.w3.org/WAI/tutorials/page-structure/headings/
  5. dequeuniversity.com/rules/axe/4.14/heading-order
  6. chromewebstore.google.com/detail/headingsmap/flbjommegcjonpdmenkdiocclhjacmbi
  7. www.deque.com/automated-accessibility-coverage-report/

Check your own site

Run a free automated scan of one page to check it for some issues like this one.

Run a free automated scan

Automated tests find only some accessibility issues; manual testing is still required. Not legal advice.