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)
- Check that the header region is structured using a
<header>element or that it has a WAI-ARIArole="banner"attribute. - Check that the main and secondary navigation areas are implemented using a
<nav>element or that they have a WAI-ARIArole="navigation"attribute. - Check that the search engine region is structured using a
<search>element or that it has a WAI-ARIArole="search"attribute. - Check that the main content region is structured using a
<main>element or that it has a WAI-ARIArole="main"attribute. - Check that the footer region is structured using a
<footer>element or that it has a WAI-ARIArole="contentinfo"attribute. - If this is the case for each content region, the test is validated.
Test 2 (9.2.2)
- Check that elements with a computed role of
navigationare not used to structure regions that have a function other than primary or secondary navigation. - 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 ahiddenattribute, for example). - 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 ahiddenattribute, for example). - 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 ahiddenattribute, for example). - If this is the case, the test is validated.
Test 3 (9.2.3)
- Check that the
<header>element, without the WAI-ARIAroleattribute, used to structure the header region of the page, is nested within an element with a computed role other than:
articlecomplementarymainnavigationsection
- If this is the case, the test is validated.
Test 4 (9.2.4)
- Check that the
<footer>element, without the WAI-ARIAroleattribute, used to structure the footer region of the page, is nested within an element with a computed role other than:
articlecomplementarymainnavigationsection
- If this is the case, the test is validated.