Skip to main content
RAWEBA

9.1 On each web page, is the information structured by the appropriate use of headings?

WCAG references
  • 1.3.1 Info and Relationships (A)
  • 2.4.1 Bypass Blocks (A)
  • 2.4.6 Headings and Labels (AA)
  • 4.1.2 Name, Role, Value (A)
Techniques
  • ARIA4
  • ARIA12
  • G115
  • G130
  • G141
  • H42

Official methodology to test criterion 9.1

Test 1 (9.1.1)

  1. Find the headings in the document (<hx> tag or tag with a WAI-ARIA role="heading" attribute associated with a WAI-ARIA aria-level attribute).
  2. Check that the hierarchy between the headings is appropriate.
  3. If this is the case, the test is validated.

Test 2 (9.1.2)

  1. For each heading identified in test 9.1.1, check that its content is relevant.
  2. If this is the case for each heading, the test is validated.

Test 3 (9.1.3)

  1. For each passage of text making up a heading, check that
    • either it is implemented using a <hx> tag ("x" designating a numerical value between 1 and 6);
    • or it is implemented using a tag with a WAI-ARIA role="heading" attribute and a WAI-ARIA aria-level=x attribute ("x" designating a numerical value).
  2. If this is the case for each heading, the test is validated.