Skip to content

Commit 735b99c

Browse files
authored
fix(menu): Edit a11y docs (#4655)
1 parent 2cba92b commit 735b99c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/components/menus/docs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The target HTML element and dropdown need to be wrapped in the class `.slds-drop
3636

3737
The main thing that distinguishes menus from other popover blocks is keyboard navigation: elsewhere, users press the Tab key to navigate through actionable items, but in a menu, users press the arrow keys to navigate.
3838

39-
- Arrow keys cycle focus through menu items (you should use JavaScript to disable focus for any disabled items)
39+
- Arrow keys cycle focus through menu items (including disabled menu items)
4040
- If a menu item opens a submenu, pressing Enter or the right arrow key opens the submenu and focus goes to the first item in the submenu
4141
- If a submenu is open, pressing the left arrow key closes the submenu and puts focus back on the menu item that opened the submenu
4242
- Tab key closes the menu and moves focus to the next focusable element on the page

0 commit comments

Comments
 (0)