Skipped heading level

FAIL — jumps from h2 to h4, skipping h3. axe-core: heading-order

Section heading (h2)

Skipped to h4 — violation here

The heading level jumped from 2 to 4, skipping level 3.

Correct sequential headings

PASS — h2 followed by h3 followed by h4, all in order

Section (h2)

Subsection (h3)

Detail (h4)

Heading levels are sequential — no violation.

Another skipped level

FAIL — jumps from h2 directly to h5

Top level (h2)

Way down to h5 — violation

Skipped h3 and h4 entirely.