How to design
a
navigation landmark
A
navigation landmark
must meet WCAG principles:
3
Understandable
-
Navigation items are repeated in the same order - 3.2.3 AA
-
Help, support or contact options are presented in the same order - 3.2.6 A
A
navigation landmark
must work for people with disabilities:
✓ Cognitive
-
Help, support or contact options are presented in the same order - 3.2.6 A
-
More than one way is available to locate content - 2.4.5 AA
UX
The <nav>
element wraps lists of links and buttons, giving context to people using a screen reader about the meaning of content inside.
Annotations for navigation landmarks
- Annotate the container as
<nav>
or role="navigation"
- Each navigation landmark must have a name
- Main
<nav> aria-label="main"
- Breadcrumbs
<nav> aria-label="Breadcrumbs"
- Categories
<nav> aria-label="Categories"
- Footer site map
<nav> aria-label="Site map"
Related navigation landmark entries