New Tool Radar

AI Design Workflows

How to Check Heading Structure in an AI-Designed Page

Read the headings of an AI-designed page on their own, and check that each one describes its section and that the levels follow in order without a jump.

Schematic diagram: three steps to check heading structure — list the headings, read them alone, check the levels — with a practice result of 4 of 6 headings passing and 2 failing.

Read the headings of an AI-designed page on their own, and check that each one describes its section and that the levels follow in order without a jump. List every heading in order, from the page title down, write down its level and its words, and judge each one on those two points. Two headings on the practice page fail: one jumps from H2 to H4, and one repeats the page title instead of describing its own section.

The W3C page for headings and labels states that “Headings and labels describe topic or purpose.” It adds that “When headings are clear and descriptive, users can find the information they seek more easily, and they can understand the relationships between different parts of the content more easily.” Heading structure is about order and levels, not visual size: a big bold line is not a heading unless it is marked up as one.

Schematic diagram: three steps to check heading structure — list the headings, read them alone, check the levels — with a practice result of 4 of 6 headings passing and 2 failing.

What counts as passing

Two W3C rules shape this check. Success Criterion 2.4.6 Headings and Labels states that headings and labels describe topic or purpose. Success Criterion 1.3.1 Info and Relationships states that information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text. Together they mean a heading must say what its section holds, and the level must show where the section sits in the page.

The W3C pages draw the line between the two rules. The 2.4.6 page says the criterion “does not require that content acting as a heading or label be correctly marked up or identified — that aspect is covered separately by 1.3.1 Info and Relationships.” So a page can have well-written headings that are still only bold text, and a page can have correct H1 to H6 markup with headings that say nothing. This guide checks both: the words, and the levels. The W3C pages do not list a skipped level as a named failure, so this guide states its own rule plainly: a level that jumps — H2 followed by H4 — fails this check, because the outline no longer shows where the section sits. Visual size is not part of the check: a heading is a heading because of its level, not because it looks big.

The practice design and the check table

Use a fictional homepage for the exercise. The fictional brand is Maple Corner, a small cafe at 12 Maple Lane that does not exist. The AI tool supplied six headings for the homepage, and each row below is one heading as supplied, in page order. Nothing in the table comes from a real client page.

How the table was worked out

Each heading was judged on two points: do the words describe the section that follows, and does the level follow the level before it without a jump. A heading needs both to pass. A heading that repeats the page title fails on words, and a heading that jumps a level fails on order, even when its words are clear.

Heading as supplied Level Result
“Maple Corner” H1, the page title Pass — names the cafe and the whole page.
“Autumn menu” H2, under the H1 Pass — describes the menu section that follows.
“Pumpkin spice latte” H3, under “Autumn menu” Pass — names one drink in the menu section.
“Visit us” H2, after the menu section Pass — describes the section about finding the cafe.
“Opening hours” H4, under “Visit us” (H2) Fail — jumps from H2 to H4, skipping H3, so the outline hides where this section sits.
“Maple Corner” H2, near the foot of the page Fail — repeats the page title instead of describing its own section.

Read the table row by row. Four headings pass and two fail. The “Opening hours” heading fails on order: its words are clear, but the jump from H2 to H4 hides its place in the outline. The second “Maple Corner” fails on words: a reader scanning the heading list sees the same title twice and cannot tell what the second section holds.

How to fix a failing row

Put the skipped level back

Give “Opening hours” the H3 level, so the order runs H1, H2, H3, H2, H3. A jump is fixed by changing the level, not by rewriting the words.

Say what the section holds

Rewrite the second “Maple Corner” as the words of its own section — “About Maple Corner” if it tells the cafe’s story, or “Contact Maple Corner” if it holds the address and phone number.

Do not fix levels with bigger text

A heading that looks bigger is still the same level. If the outline is wrong, change the H1 to H6 level in the markup, not the font size.

Limits

The check covers only the headings on this practice homepage: their words and their levels. It does not cover form labels, which the same W3C page treats separately, and it does not cover whether the page has enough headings at all, since Success Criterion 2.4.6 does not require headings to exist. The six headings apply only to this practice page. Expected result. We checked the W3C Understanding pages for Success Criteria 2.4.6 and 1.3.1. We did not open the Maple Corner homepage in a browser.

Sources

See all