Components
← All components

Navigation Menu

stimeo--navigation-menu

Disclosure navigation: single-open sub-panels of links, not a role=menu.

  • Disclosure

The stimeo--navigation-menu controller implements the WAI-ARIA Disclosure navigation pattern. Each top-level button toggles its sub-panel (aria-expanded + hidden synced), only one panel is open at a time, and the panel content is plain links (not a role=menu). Focus is not trapped — Tab moves through the links naturally. Escape closes the open panel and returns focus to its trigger; an outside click or focus leaving the nav closes it. ArrowLeft/ArrowRight move focus between triggers without rewriting tabindex (they keep their natural Tab order). Hover open/close is opt-in via openOnHover (with hoverDelay). Panel layout and animation are your CSS; dynamic placement is delegated to the opt-in stimeo-ui/positioning. For an app command menu with arrow roving and role=menu, use the menubar instead.

running

Keyboard

KeyAction
→ / ← Move focus between top-level triggers (wrapping).
Esc Close the open panel and return focus to its trigger.
Tab Move naturally; closes the open panel when focus leaves the nav.