Aller au contenu

Menu

Ce contenu n’est pas encore disponible dans votre langue.

A menu lists actions or choices for one object. Items are short verbs. Group related items and separate groups with a divider. A destructive item sits last and says what it does.

Read from the component manifest, so this is the component’s own contract. See Overlays for layers, stacking and dismissal shared by all layers.

Stagestable
Accessibility
  • role="menu" with roving focus: arrow keys, Home/End, typeahead, Escape returns focus to the trigger.
DocsStorybook
Stagestable
DocsStorybook
Stagestable
DocsStorybook
Stagestable
Accessibility
  • role="menuitem"; activating it closes the menu.
DocsStorybook
Stagebeta
Accessibility
  • role="menuitemcheckbox" with aria-checked; Space or Enter toggles it.
DocsStorybook
Stagebeta
Accessibility
  • role="group" of menuitemradio; arrow keys move, Space or Enter selects.
DocsStorybook
Stagebeta
Accessibility
  • role="menuitemradio" with aria-checked.
DocsStorybook
Responsable
Okrado founders
Mis à jour le
À revoir avant le