Menu
follows the Actions Menu pattern using aria-activedescendant
. Below is table of supported keyboard shortcuts and associated actions.
Key | Action |
---|---|
Enter or Space |
Activates the menu item and then closes the menu |
Escape |
Closes the menu |
Up Arrow |
Moves focus to the previous menu item – if focus is on first menu item, it moves focus to the last menu item |
Down Arrow |
Moves focus to the next menu item – if focus is on last menu item, it moves focus to the first menu item |
Home |
Moves focus to the first menu item |
End |
Moves focus to the last menu item |
A-Z / a-z |
Moves focus to the next menu item with a label that starts with the typed character if such an menu item exists – otherwise, focus does not move |