Components
← All components

Carousel

stimeo--carousel

A slideshow with pausable autoplay and a roving tablist of slide pickers.

  • Carousel

The stimeo--carousel controller implements the WAI-ARIA Carousel (tabbed) pattern. It moves between slides (next / prev / goto), syncs the active slide with data-state and the hidden attribute (so inactive slides leave the focus order), and keeps the matching picker's aria-selected and the single roving tabindex in step. The play/pause toggle mirrors autoplay on aria-pressed. Autoplay honors WCAG 2.2.2: it suspends while the pointer hovers and hard-stops when keyboard focus enters — it does not silently resume on focus out, so motion never surprises a keyboard user. The interval is cleared on disconnect (Turbo navigation included). Arrow keys on the pickers move focus only (manual activation); Home/End jump to the first/last slide. Behavior only — transitions and layout are yours.

running

Keyboard

KeyAction
Enter / Space Activate a button (prev / next / play-pause / select a slide).
→ / ← Move focus to the next / previous slide picker (roving).
Home / End Activate the first / last slide.