Kilotest: Diagnoses of heading structure illogical
violation by HTML element 25 on WebAIM page
Here is how tools diagnose the heading structure illogical
issue for HTML element 25 of the WebAIM page.
Basics
- About the
heading structure illogical
issue- Why it matters: Helper misdescribes the document
- Priority: low
- Related WCAG standard: 1.3.1
- About the WebAIM page
- URL:
https://webaim.org/ - Tested on 2026-04-02 at 14:55
- URL:
- About HTML element 25
- Take me there
- Tag name:
H2 - Text:
skip to main content … WebAIM Training
- Start tag:
<h2> - XPath:
/html/body/div[1]/header[1]/h2[1] - Bounding box: x = 477, y = 10, width = 315, height = 89
Diagnoses
- The heading structure is not logically nested. This h2 element appears to be the primary document heading, so should be an h1 element.
Tool: HTML CodeSniffer (Squiz Labs)
Rule:
E-WCAG2AAA.Principle1.Guideline1_3.1_3_1_AAA.G141 - The heading structure is not logically nested. This h2 element should be an h1 to be properly nested.
Tool: HTML CodeSniffer (Squiz Labs)
Rule:
E-WCAG2AAA.Principle1.Guideline1_3.1_3_1_AAA.G141