Components
← All components

Toolbar

stimeo--toolbar

A group of controls that is a single Tab stop, navigated with the arrow keys.

  • Toolbar

The stimeo--toolbar controller implements the WAI-ARIA Toolbar pattern. It keeps the group a single Tab stop with a roving tabindex (exactly one control is tabindex=0, the rest -1) and moves focus between controls with the arrow keys — ArrowRight/ArrowLeft when horizontal, ArrowUp/ArrowDown when vertical — plus Home/End for the first/last. With wrap=true movement cycles past the ends; with wrap=false it stops. Returning focus from outside lands on the most recently active control. Each control's own function (press, toggle, open a menu) stays with that element — here a small consumer script toggles aria-pressed. Behavior only — the look is yours.

running

Keyboard

KeyAction
→ / ← Move to the next / previous control (horizontal orientation).
↓ / ↑ Move to the next / previous control (vertical orientation).
Home / End Move to the first / last control.