Components
← All components

Roving Tabindex

stimeo--roving

Makes a set of items a single Tab stop, navigated with the arrow keys.

The stimeo--roving controller is the APG roving-tabindex technique as a standalone controller — the policy layer over the shared RovingTabindex util (the counterpart to Focus Scope over FocusTrap). Exactly one item is tabindex=0 (the rest -1); the arrow keys move focus and that tab stop together — ArrowRight/ArrowLeft when horizontal, ArrowUp/ArrowDown when vertical, both axes when both — and Home/End jump to the ends. With wrap=true movement cycles past the ends; with wrap=false it clamps. Listeners are delegated on the container (keydown for movement, focusin to sync the tab stop when focus arrives by click or programmatically), so items added or removed at runtime need no per-item wiring. It emits change when the tabbable item changes. Behavior only: it owns tabindex and focus movement, not roles, selection, typeahead, or activation — those stay with the consuming pattern (here, plain action buttons).

running

Tab into the group once, then use the arrow keys to move between buttons; Home/End jump to the ends.

Keyboard

KeyAction
→ / ← Move to the next / previous item (horizontal or both orientation).
↓ / ↑ Move to the next / previous item (vertical or both orientation).
Home / End Move to the first / last item (when homeEnd is on).