Components
← All components

Menu Button

stimeo--menu

A true role=menu widget with roving focus over commands. Distinct from the disclosure dropdown.

  • Menu Button

The stimeo--menu controller implements the WAI-ARIA Menu Button pattern: a button that opens a role=menu of commands with roving focus across role=menuitem children. Unlike stimeo--dropdown (a disclosure for arbitrary content), it manages arrow-key navigation, Home/End, and closes on Esc, Tab, outside click, or item activation. Static placement is owned by CSS; viewport-edge positioning is intentionally out of scope.

running

Keyboard

KeyAction
Enter / Space / ↓ Open the menu and focus the first item.
Open the menu and focus the last item.
↓ / ↑ Move focus between items (wrapping).
Home / End Focus the first / last item.
Esc Close the menu and return focus to the trigger.