Kilotest: Diagnoses of heading structure illogical violation by HTML element 25 on WebAIM page

Basics

About the WebAIM page

About HTML element 25

About the heading structure illogical issue

Diagnoses

Here is how tools diagnose the heading structure illogical issue for HTML element 25 of the WebAIM page.

  1. 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

  2. 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