Kilotest: Diagnoses of heading structure illogical
violation by HTML element 25 on WebAIM page
Basics
About the WebAIM page
- URL: https://webaim.org/
- Tested 29 days ago by job
vbron 2026-05-03 at 17:03
About HTML element 25
- 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
About the heading structure illogical
issue
- Why it matters: Helper misdescribes the document
- Priority: low
- Related WCAG standard: 1.3.1
Diagnoses
Here is how tools diagnose the heading structure illogical
issue for HTML element 25 of the WebAIM page.
- 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