Heading Hierarchy Checker
Paste HTML from View Source, a CMS export or DevTools, and the checker builds the heading outline the way a screen reader gets it: h1 to h6 plus ARIA role="heading", with aria-level applied and hidden headings left out. It reports a missing or repeated level-1 heading, skipped levels and headings with no text, each with its position and text so you can find it.
Who Uses the Heading Outline
Screen reader users, mostly. In WebAIM's 2024 survey of 1,539 screen reader users, 71.6% said the first thing they do to find information on a long page is jump through its headings (78% of advanced users, 47% of beginners). Google is a different story: its SEO Starter Guide says semantic heading order is fantastic for screen readers, but from Google Search's perspective it does not matter if headings are out of order, and there is no ideal number of headings. Fix the outline for the people navigating by it, not for rankings. For a deeper accessibility audit, follow up with WCAG Compliance Checker.
How the Outline is Walked
The checker parses your HTML with the browser's DOM parser and walks h1 to h6 and every element with role="heading" in document order. aria-level replaces the tag's level, role="presentation" on a heading tag removes it, and headings hidden by the hidden attribute, aria-hidden="true" or an inline display:none or visibility:hidden are left out and listed separately, because screen readers never reach them. A heading's name includes image alt text and aria-label, so an image-only heading is not empty. A jump of more than one level downward is flagged; going back up (H4 to a new H2) is normal. We test the outline against Chromium's accessibility tree on 12 tricky elements: this version matches all 8 headings Chromium exposes, the previous one matched 4 and listed 10.
See also: pair the outline check with the Mobile-Friendly Tester for viewport, tap target, and font-size signals, and keep the Core Web Vitals Cheatsheet open while debugging Lighthouse reports.
Frequently Asked Questions
Is more than one H1 a problem?+
HTML allows several h1 elements as long as they are not nested, and screen readers announce each one as level 1: the old document outline algorithm that would have re-levelled an h1 inside a section was never implemented and has been removed from the HTML standard. One h1 that names the page keeps the heading list clear for screen reader users. Google says the number and order of headings does not matter for Search, so this is about people, not rankings.
What is wrong with skipping heading levels?+
Someone moving through headings with a screen reader hears each heading's level, so a jump from H2 to H4 can leave them looking for an H3 that does not exist; MDN and the W3C headings tutorial both advise against it. Going back up (H4 to a new H2) is normal when a section ends. Google says heading order does not matter for Search.
Can I use heading styling without using the heading tag?+
Yes — use a CSS class on a p or div to get the visual weight without breaking the outline. The mistake is the opposite: using h3 on something that is not a section heading just because you want bigger text. Headings must be structural, not stylistic.
Does the checker work for React or Vue dynamic content?+
It checks the HTML you paste. For client-rendered apps, paste the post-render HTML from your browser's DevTools (Elements panel and Copy outerHTML on body). The pre-render HTML from View Source may not include dynamically inserted headings.
What about display:none or aria-hidden headings?+
They are left out of the outline, the way a screen reader leaves them out, and listed in a separate note. The hidden attribute, aria-hidden="true" and an inline display:none or visibility:hidden all count. Hiding applied through a stylesheet class cannot be seen in pasted HTML, so check those in your browser's accessibility panel.
Should section landmarks have their own H1?+
No. Older HTML drafts let each section start its own outline with an h1, but browsers never implemented that outline algorithm and the HTML standard removed it; an h1 nested inside a section is now non-conforming and is still announced as level 1. Use one h1 for the page and h2 for each section, or set aria-level when a component has to keep its own heading tag.
Why is the heading text required, not just the tag?+
A heading with no text, alt text or label has no accessible name, so screen readers announce a heading with nothing after it. It usually happens when a template adds the tag to be filled in by JavaScript and nothing ever fills it. An image inside a heading counts as text if it has alt text.
Can I check just the heading outline without other HTML?+
Yes — paste any HTML, even a minimal snippet with just headings. The checker does not care about validity of the surrounding markup; it walks whatever heading elements are present.
Built by Derek Giordano · Part of Ultimate Design Tools
Privacy Policy · Terms of Service