On this page

Toolbar

Keys, what Toolbar gives you and what your team does.

Conformance

Toolbar meets WCAG 2.2 level AA when used as described on these pages. It follows the Toolbar pattern of the WAI-ARIA Authoring Practices.

Keyboard

Key Action
Tab Enters on the last-used tool; the next Tab leaves the toolbar.
← → Move between tools.
Home, End First and last tool.
Enter or Space Runs or toggles the tool.

What Toolbar gives you

  • role="toolbar" with one tool in the tab order at a time (roving tabindex).
  • Toggle tools with aria-pressed, or aria-checked in a single group.

What your team does

  • Name the toolbar and every icon-only tool.
  • Show each name in a tooltip.

WCAG criteria

Criterion Level How
2.1.1 Keyboard A Arrow keys, Home and End
4.1.2 Name, Role, Value A role="toolbar" with a name