Navigation bar: Accessibility
Navigation bars let people switch between UI views on smaller devices
Use cases
People should be able to do the following using the assistive technology:
- Move between navigation destinations
- Select a particular navigation destination from a set
- Get appropriate feedback based on input type
Interaction & style
Touch
- When a navigation item is tapped, the active indicator appears in place, providing feedback that it’s selected
- A touch ripple passes through the indicator
- The icon switches from outlined to filled
- The icon changes color
Cursor
- When hovered, the active indicator appears in a reduced state providing a visual cue that the destination is interactive
- When clicked (in both active and inactive states), a ripple passes through the indicator
- The icon switches from outlined to filled
- The icon changes color, becoming darker
Text scaling and truncation
When someone sets their device to show a larger text size, the navigation bar should grow vertically to accommodate larger labels while retaining the default padding. It’s okay for scaled text to wrap in navigation items.
To remain accessible, ensure the full label is always visible on-screen at up to 2x text sizing. Beyond this size, text can truncate.


Initial focus
Initial focus lands directly on the first navigation item, since that is the first interactive element of the component.


Visual indicators
Use a filled icon with a bold label for selected destinations. For unselected destinations use an outlined icon with a medium label.
If an icon doesn’t have a filled style, use a thicker or heavier version of the icon instead.



Keyboard navigation
| Keys | Actions |
|---|---|
| Tab | Move between navigation items |
| Space / Enter | Selects the focused navigation item |
Labeling elements
The accessibility label for a navigation item is typically the same as the destination name.

When the visible UI text is ambiguous, accessibility labels need to be more descriptive. For example, a navigation destination visibly labeled Library would benefit from additional information in its accessibility label to clarify the destination’s intent.

TIP
On Android Views (MDC-Android), a more descriptive accessibility label is not available and the role is not announced.