Skip to content

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


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.


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.


Where this comes from.

01

Headings

w3.org

Using a framework? Next.js · SvelteKit · Nuxt



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