Skip to main content
RAWEBA

9.2 On each web page, is the document structure consistent (excluding special cases)?

WCAG references
  • 1.3.1 Info and Relationships (A)
Techniques
  • ARIA11
  • G115
  • H97
  • H101

Official methodology to test criterion 9.2

Test 1 (9.2.1)

  1. Check that the header region is structured using a <header> element or that it has a WAI-ARIA role="banner" attribute.
  2. Check that the main and secondary navigation areas are implemented using a <nav> element or that they have a WAI-ARIA role="navigation" attribute.
  3. Check that the search engine region is structured using a <search> element or that it has a WAI-ARIA role="search" attribute.
  4. Check that the main content region is structured using a <main> element or that it has a WAI-ARIA role="main" attribute.
  5. Check that the footer region is structured using a <footer> element or that it has a WAI-ARIA role="contentinfo" attribute.
  6. If this is the case for each content region, the test is validated.

Test 2 (9.2.2)

  1. Check that elements with a computed role of navigation are not used to structure regions that have a function other than primary or secondary navigation.
  2. If the document has multiple elements with a computed role of main, ensure that only one of these elements is visible (the other occurrences are provided with a hidden attribute, for example).
  3. If the document has multiple elements with a computed role of banner, ensure that only one of these elements is visible (the other occurrences are provided with a hidden attribute, for example).
  4. If the document has multiple elements with a computed role of contentinfo, ensure that only one of these elements is visible (the other occurrences are provided with a hidden attribute, for example).
  5. If this is the case, the test is validated.

Test 3 (9.2.3)

  1. Check that the <header> element, without the WAI-ARIA role attribute, used to structure the header region of the page, is nested within an element with a computed role other than:
  • article
  • complementary
  • main
  • navigation
  • section
  1. If this is the case, the test is validated.

Test 4 (9.2.4)

  1. Check that the <footer> element, without the WAI-ARIA role attribute, used to structure the footer region of the page, is nested within an element with a computed role other than:
  • article
  • complementary
  • main
  • navigation
  • section
  1. If this is the case, the test is validated.