Landmarks – Accessibility Guidelines
Accessibility
18F
GSA
Table of Contents
All elements on a page should be contained in a landmark element. This helps users of AT quickly navigate a page. HTML5 provides built in landmark elements such as main, nav, aside, header, footer. When using HTML5 elements, don’t define role.
When using HTML4 use ARIA role on divs to define landmark elements such as role=“main”.
Testing>
Testing #
- Identify content in the source code
- Check that all rendered content is contained by a landmark element