Components
← All components

Menu Button

stimeo--menu

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

  • Core
  • 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 enabled-item activation. Disabled items are skipped and cannot activate. 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.
Enter / Space on an item Activate an enabled item; an aria-disabled item remains inactive.
Esc Close the menu and return focus to the trigger.