Skip to main content
Perceivly: Perceivly home

Heading structure

Also called: Heading hierarchy, Heading levels

The outline of a page made by its h1 to h6 headings, which screen reader users use to scan and navigate.

Definition

Heading structure is the outline formed by a page's heading elements, h1 to h6. WCAG does not require a particular order of levels, but it requires that headings shown visually are also marked up as headings (1.3.1 Info and Relationships) and that headings describe their topic or purpose (2.4.6 Headings and Labels, Level AA).

Why it matters

Headings are how many screen reader users find their way. In WebAIM's tenth Screen Reader User Survey (December 2023 to January 2024, 1,539 responses), 71.6% said that navigating through headings is their first step to find information on a lengthy page. A page with no real headings, or with headings chosen for their font size, leaves them reading line by line.

How to test or meet it

  • Use one h1 for the page topic, then h2 for main sections and h3 for subsections.
  • Do not skip levels to get a smaller font; style the right level with CSS instead.
  • Do not mark up text as a heading only to make it big, and don't style a heading-like line with bold alone.
  • Make each heading say what its section is about.

Automated tools flag empty headings and jumps in level. Paste a page's HTML into our heading checker to see its outline, then read the outline on its own: it should make sense without the rest of the page.

WCAG criteria

Tools and guides

Sources

  1. WebAIM Screen Reader User Survey #10 (survey December 2023 to January 2024)
  2. Understanding 2.4.6 Headings and Labels (W3C)
  3. Understanding 1.3.1 Info and Relationships (W3C)

By the Perceivly team · Published . This explains a term; it is not legal advice.

Check a page for free

The free accessibility checker tests one page against WCAG 2.2 A and AA in about 10 seconds and lists what still needs a manual review. No sign-up.

All glossary terms