New Tool Radar

AI Design Workflows

How to Check That Section Headings Outline the Page

Check that section headings outline the page like a table of contents, because WCAG asks for headings that organise the content.

Schematic with three steps: extract the heading outline, check the levels nest, rewrite vague headings.

Screen reader users often read the headings first to decide whether a page is worth reading. When headings are vague, skipped, or out of order, that outline is useless. WCAG asks for section headings that organise the content, so the heading list alone should read like a table of contents.

Why this needs its own check

WCAG 2.1 success criterion 2.4.10 Section Headings, Level AAA, requires section headings to be used to organise the content. The WCAG 2.2 checklist carries the same rule. It works with the heading structure rule: headings should nest in order and describe the section that follows them.

What you need before you start

  • The page open in a browser
  • A way to extract the heading outline, such as a headings extension
  • A note of the page’s main sections

Step 1 – Extract the heading outline

List every heading on the page in order, with its level: one H1, then H2s, then H3s. If the page has no headings, or only one heading for a long page, mark it as a failure.

Step 2 – Check the levels nest in order

Read the outline top to bottom. A jump from H2 to H4, or a second H1 halfway down, breaks the outline. Each section should sit under the heading that describes it.

Step 3 – Rewrite vague headings

Read each heading alone. A heading that only says More information or Details fails, because it does not say what the section is about. Rewrite it to name the section: Delivery times, not More information.

Worked example

Practice check: a fictional Copper Kettle Tea Room help page

The example below is fictional. Copper Kettle Tea Room is an invented business used only as a practice case. No real customer, page, or product is shown. Treat it as a practice case, not as evidence about any real business.

Part What it should be As shown Result
Page H1 One clear H1 naming the page Help and delivery – Copper Kettle Tea Room Pass
Delivery section heading Descriptive H2 More information Fail – vague heading
Returns section heading Descriptive H2 Returns and refunds Pass
Contact section heading Descriptive H2 Details Fail – vague heading

Only 2 of the 4 checks pass: the page H1 and the returns heading. The two failures are the vague headings More information and Details.

What to do when something is wrong

Rename the two vague headings to name their sections: Delivery times and costs, and How to contact us. Then re-extract the outline and confirm it reads like a table of contents.

Expected result. We checked the WCAG 2.2 checklist listed in Sources. We did not extract headings from a live Copper Kettle Tea Room page. UNTESTED: no heading outline was extracted from a real page; the practice table shows the expected result pattern for a page with two vague headings.

Limits

  • This check covers the AAA section headings bar only. A page can pass AA without meeting it, and it does not cover whether the heading text is accurate, only whether it organises the page.

Sources

See all