Headings: the table of contents nobody sees
SEOWhy H1 to H6 are an outline and not font sizes, what WCAG requires, what Google says about them and how to check your page’s structure in a few minutes.
9 min read
By Timo Wessels Published
Headings are the table of contents of your page, only invisible. HTML knows six levels, <h1> to <h6>. They are an outline and not font sizes.
Screen reader users jump through the page by this outline. A screen reader is a program that reads the page aloud. Search engines and AI systems read from the headings what a section is about. Hurried readers skim them before they start reading anywhere.
On many websites the outline is broken, because page builders and editors treat the level like a font size. The repair is usually simple: one H1 for the topic, descending without gaps below it. The size comes from the CSS.
The most important points first:
- Headings are the invisible table of contents of your page. They are an outline and not font sizes.
- One H1 for the topic, descending without gaps below it. The size comes from the CSS.
- Screen reader users jump by this outline. Search engines and AI systems read from it what the page is about.
What it is about
The levels form a tree, as in a book:
- H1 is the topic of the page, the book title.
- H2 are the main sections, the chapters.
- H3 are subsections within an H2, the subchapters.
- H4 to H6 go deeper and are rarely needed.
If you read only the headings of a well-built page, you have a summary.
The mistake arises at creation: the level is chosen by how big the text should look. An H4 for the small line above the button, because H4 is small. An H2 in the footer, because it fitted visually. The outline then describes the layout and not the content. MDN puts it briefly: do not use headings to make text bigger or smaller. For that there is the CSS property font-size.
Structure belongs in the HTML, design in the CSS.
What the WCAG require
The WCAG are the international guidelines for accessible websites. Three success criteria of version 2.2 concern headings:
| Criterion | Level | What it requires |
|---|---|---|
| 1.3.1 Info and Relationships | A | Structure conveyed visually must be recognisable in the code |
| 2.4.6 Headings and Labels | AA | Headings describe topic or purpose |
| 2.4.10 Section Headings | AAA | Where content is organised in sections, the sections get headings |
1.3.1 is the core: what looks like a heading must be one in the code. 2.4.6 does not prescribe headings. But it requires that existing headings describe what follows.
Why it matters
For screen reader users the outline is the most important means of navigation. In the WebAIM survey of screen reader users (December 2023 to January 2024, 1,539 valid responses), 71.6 percent said they first navigate through the headings on a lengthy page. 88.8 percent find the heading levels very or somewhat useful.
Whoever works like that does not listen to the whole page but jumps from heading to heading. If there is an H2 in the footer, they land there. If they hear “Heading level 4, Request now” in the middle of a list, they do not know whether they missed something.
For Google the order does not matter, for people it does. Google’s SEO starter guide says: headings in semantic order are fantastic for screen readers, but from the Google Search perspective it does not matter if they are out of order. There is also no ideal number according to Google. The headings themselves still matter: Google advises breaking long content into paragraphs and sections and providing headings that help users navigate.
For AI systems the same applies as for readers. Google writes in its guide to the AI features that perfectly semantic HTML is not required. But it helps where possible, because it makes it easier for other users, such as screen readers, to navigate. If a system is to quote a section, a descriptive heading is the simplest indication of what it is about. That is my assessment.
And for sighted readers the structure is also the means of navigation, only unconsciously. Hardly anyone reads a page from top to bottom.
How often it goes wrong
Every year WebAIM automatically checks the home pages of the one million most visited websites. In the 2026 report (checked in February 2026):
- 41.8 percent of home pages had skipped heading levels, after 39 percent the year before.
- 18.1 percent had more than one H1.
- 7.5 percent had no heading at all.
- On average there were 29.9 headings on a home page. Of the pages with at least one H6, 94.9 percent also had skipped levels. WebAIM concludes that these headings mostly do not reflect the actual structure.
The rules in detail
Do not skip a level going down. After an H2 comes an H2 or H3, not an H4. Whoever navigates by headings otherwise wonders where the missing level is. MDN names exactly this reason.
Jumping up is fine. MDN explains: when headings are nested, levels may be skipped when closing a subsection. An H2 that starts a new section may therefore follow an H4.
The H1 names the topic of the page. Not the company name, not the line in the slider. Whoever reads only the H1 should know where they have landed.
One H1 or several? The HTML standard allows several. MDN still advises a single H1 that describes the content, similar to the <title>. Google does not care about the number. The practical answer: for a normal business page use one H1. That goes for services, About us, contact and a post. If such a page has several, that is almost never intended but a block that brings an H1 with it.
Headings describe what follows. That is WCAG 2.4.6. “Our philosophy” says less than “Why we work without a page builder”.
What is not a heading gets no H tag. That goes for labels in the navigation, lines above buttons, footer titles and slogans. If your theme outputs them as a heading, that is a theme problem.
What is a heading needs an H tag. The reverse mistake: a line that is bold and large by CSS but in the code a normal paragraph. Visually a heading, technically not there.
What a clean structure looks like
A service page:
H1 Accessibility check for WordPress websites
H2 What is checked
H3 Points that can be checked automatically
H3 Points only a person can judge
H2 What the process looks like
H2 What you get at the end
H2 What it costs
If you read only these seven lines, you know what the page offers. That is exactly the test.
A typical counter-example from a page builder:
H2 Welcome
H1 Musterbetrieb GmbH
H4 Your partner since 1998
H3 Services
H4 Request now
H2 Subscribe to newsletter
The H1 does not come first and names the company instead of the topic. The slogan has become a heading because H4 looks small. “Request now” is a button. And the footer brings an H2 that stands on the same level as the main content.
Rule of thumb from my practice: one H1 and two levels below it are enough for almost every page. If you need H5 or H6, the page usually wants too much at once. Then a second page is often the better rebuild than a deeper outline.
How to check it yourself
With an extension. HeadingsMap for Chrome and Firefox shows the headings as a tree and marks skipped levels. The extension Web Developer can label the headings directly on the page.
Without an extension. Open the source with Ctrl+U and search with Ctrl+F for <h1, then for <h2 and so on. More awkward, but it works.
The read-aloud test. Read only the headings aloud, without the body text. Does that give a sensible summary of the page? If “Request now”, “Testimonials” or “Welcome” land in the middle of the list, the structure is wrong.
The heading list in a screen reader. The free screen reader NVDA shows all headings of a page in its elements list. That is the view a blind user works with.
What you can do
- Set one H1 per page that names the topic. If your H1 is the company name, that is the first finding.
- Build the outline from top to bottom, without skipping levels going down.
- Separate level and size. If a heading has its level only because of the font size, change the level and set the size in the CSS.
- Check the blocks, not only the pages. If a mistake looks the same on all pages, it comes from a block or the theme. Then you correct in one place instead of thirty.
- Take the footer along. It is almost always forgotten and brings wrong headings to every single page on many websites.
- Reword the headings while you are at it. A heading that describes the section that follows helps the screen reader user to navigate and the hurried reader to decide whether to read on. Here accessibility and findability are the same work.
Sources
- W3C, Understanding SC 1.3.1 Info and Relationships — Level A: w3.org(external site: w3.org)
- W3C, Understanding SC 2.4.6 Headings and Labels — Level AA, does not require headings but descriptive ones: w3.org(external site: w3.org)
- W3C, Understanding SC 2.4.10 Section Headings — Level AAA: w3.org(external site: w3.org)
- W3C WAI, Page Structure Tutorial: Headings — do not skip levels going down, going up is allowed: w3.org(external site: w3.org)
- MDN, The HTML Section Heading elements — not for font size, no skipped levels, generally one H1, navigation by screen reader: developer.mozilla.org(external site: developer.mozilla.org)
- WebAIM, Screen Reader User Survey #10 — 71.6 percent navigate by headings first, 88.8 percent find levels useful: webaim.org(external site: webaim.org)
- WebAIM, The WebAIM Million 2026 — 41.8 percent skipped levels, 18.1 percent several H1, 7.5 percent no headings, the H6 finding: webaim.org(external site: webaim.org)
- Google Search Central, SEO Starter Guide — order and number of headings do not matter for search: developers.google.com(external site: developers.google.com)
- Google Search Central, Optimizing for generative AI features — semantic HTML not required, helpful for screen readers, headings for clear structure: developers.google.com(external site: developers.google.com)
- Own testing practice — the rule of thumb of one H1 and two levels, the read-aloud test, checking the blocks and the footer.