Kilotest: Diagnoses of heading structure illogical violation by HTML element 82 on Open Secrets page

Basics

About the Open Secrets page

About HTML element 82

About the heading structure illogical issue

Diagnoses

Here is how tools diagnose the heading structure illogical issue for HTML element 82 of the Open Secrets 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