Fix headings that skip a level in your page outline
Heading levels should only increase by one is the message for axe's heading-order rule, and it means a heading sits more than one level below the heading before it, such as an h4 straight after an h2. Screen reader users move through a page by its headings, and a skipped level makes that outline confusing. Choose each heading's level for its place in the outline, and change its size with CSS instead.
Which heading sequences pass and fail
| Sequence | Result |
|---|---|
| h1, h2, h3 | Passes. Each heading goes one level deeper. |
| h2, h4 | Fails. The h4 skips h3. |
| h1, h3 | Fails. This is what happens when the first section heading is an h3 because of its size. |
| h4, h2 | Passes. Going back up any number of levels closes a section, which W3C's headings tutorial says is fine. |
| An h3 as the first heading on the page | Passes this rule, because axe's heading-order check always passes the first heading. A separate rule, page-has-heading-one, reports a page with no h1. |
Where skipped heading levels come from
Levels picked for their size
The design wants smaller text, so the markup uses an h4 where the outline needs an h3. The size belongs in CSS, and the level belongs to the outline.
Components with a fixed level
A reusable card or widget hard-codes its heading level, then lands under an h2 on one page and an h3 on another. Let the page pass the level in.
Text marked up as a heading for emphasis
A tagline or a sign-up prompt marked as an h5 adds a level the outline never had. Use a paragraph with a class instead.
Headings you can't see
axe counts every heading a screen reader can reach, including visually hidden ones, and skips headings hidden with display: none. A visually hidden h4 can cause a jump you won't spot on screen.
Deque's heading-order rule is a best practice with moderate impact, and it asks you not to use heading markup on text that isn't a heading. Which headings axe counts is set in axe-core's source.
Separate heading level from heading size
Give each heading the level its place in the outline calls for, and style it with a class, such as
<h3 class="title-small">. The outline stays correct while the text looks the way the design wants.Read the outline before you change anything. A screen reader's list of headings, or a browser extension that lists them, shows every level in order. Deque's test is whether the headings alone give you a fair sense of what the page contains.
How to fix a skipped heading level
- Find the heading that jumpedUse the selector in the result, then look at the heading just before it on the page, which may come from a different component. That earlier heading sets the level the flagged one should have.
- Change the level to fit the outlineMake the heading one level below the section it belongs to, so an h4 under an h2 becomes an h3, then check whether the headings after it need to move up too.
- Move the size into CSSIf the old level was chosen for its look, add a class that gives the new level that look.
- Rerun the rule on every templateRun axe again on each page type that uses the component you changed, since a fix on one page can open a gap on another.
Frequently asked questions
Is a skipped heading level a WCAG failure?
Not by itself. Deque treats heading-order as a best practice with moderate impact. Headings that misrepresent the page's structure can still fall under Info and Relationships, which asks that structure shown visually is also available in the code.
Can a page have more than one h1?
This rule doesn't check, and W3C's headings tutorial doesn't require a single h1. Deque suggests starting the main content with an h1, so screen reader users can jump straight to it with a keyboard shortcut.
How common are skipped heading levels?
WebAIM's 2026 Million report found skipped heading levels on 41.8% of the top million home pages, up from 39% in 2025.
Fix the rest of your page structure
- Website accessibilityFind what stops people with disabilities from using your site.
- Fix the accessibility problems Lighthouse reportsFix the form label, link name, lang, heading order and ARIA warnings in Lighthouse.
- Missing main landmarkPut the page's primary content in one main element so people can jump to it.
- Skip links and keyboard focusLet people bypass repeated navigation and keep keyboard focus easy to follow.