Keyboard
The toolbar is a single tab stop, following the WAI-ARIA toolbar pattern.
| Key | Does |
|---|---|
| → / ← | Next or previous control, wrapping (horizontal) |
| ↓ / ↑ | Next or previous control, wrapping (vertical) |
| Home / End | First or last control |
| Tab | Leaves the toolbar |
| Esc | Emits close |
Disabled controls are skipped. Arrow keys inside a text field move the caret, not the toolbar.
Accessibility
role="toolbar", named by the requiredlabeland oriented byaria-orientation.- Roving
tabindexis applied to the slotted controls directly, so plainNbButtons work without any extra wiring. It is kept up to date as controls are added, removed or disabled. - Icon-only buttons need their own accessible name. Pass
aria-labelto eachNbButton, as in the examples. - The entrance animation is suppressed under
prefers-reduced-motion: reduce.