All checks / Headings
Broken heading hierarchy
Heading levels should not skip (e.g., going from h2 to h4).
Warning
heading-hierarchy
In SEOCode's checks since 30 Apr 2026
What it checks
Why this matters.
Heading levels should not skip (e.g., going from h2 to h4). Broken hierarchy confuses screen readers and search crawlers.
Runs on .html .jsx .tsx .vue .svelte · Warnings are reported on the pull request but do not block the merge.
The fix
How to resolve it.
Fix heading structure: h2 jumps directly to h4. Insert the missing level between them.
SEOCode writes this fix for you
On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.
Sources
Where this comes from.
Headings
Related checks.
The h1 to h6 outline search engines and AI retrieval use to find the answer on a page.
Catch it before it ships
Every check, on every pull request.
SEOCode runs the full ruleset on each change and comments the fixes inline.
Free for public repositories · no credit card