# navigation

> The `navigation` ARIA role is used for grouping a set of navigation links.

## How do I label multiple nav landmarks for screen readers?

The role used to identify a section of a page that contains navigation links or menus. It helps users quickly locate and access different parts of the site or application.

- Topic: Structural Elements
- Type: role

## Example

Wrong:

```html
<nav role="navigation">
  <a href="/">Home</a>
</nav>
<nav role="navigation">
  <a href="/terms">Terms</a>
</nav>
```

Right:

```html
<nav aria-label="Main">
  <a href="/" aria-current="page">Home</a>
</nav>
<nav aria-label="Footer">
  <a href="/terms">Terms</a>
</nav>
```

Native `<nav>` needs no role, and unique labels let users tell the landmarks apart.

## Common mistakes

- Wrapping every group of links in `<nav>`, so the landmark list is noisy.
- Labels like 'Main navigation', read as 'Main navigation navigation'.

## Key points

- Navigation uses `<nav>` without a redundant `role="navigation"`.
- Each `<nav>` has a unique `aria-label` when there is more than one.
- Labels do not include the word 'navigation', since screen readers already say it.
- The current page link has `aria-current="page"`.

## Interview questions

### Should every list of links be in a `<nav>`?

No. Use `<nav>` for major navigation blocks only, like the main menu or breadcrumbs.

### Should a `<nav>` contain a `<ul>`?

It is common and helpful, since screen readers announce the number of links.

## Related cards

- [`<nav>`](https://wonderium.dev/html/nav.md)
- [\[aria-current\]](https://wonderium.dev/a11y/aria-current.md)
- [\[aria-label\]](https://wonderium.dev/a11y/aria-label.md)
- [banner](https://wonderium.dev/a11y/banner.md)
- [Skip Link](https://wonderium.dev/a11y/skip-link.md)

---

- Level: [Accessibility](https://wonderium.dev/a11y.md)
- HTML version: https://wonderium.dev/a11y/navigation
- Last updated: 2026-11-25
