gravity-ui / uikit

https://gravity-ui.com
MIT License
515 stars 84 forks source link

Bug(DropdownMenu): lack of keyboard interaction #1589

Open saripovdenis opened 1 month ago

saripovdenis commented 1 month ago

Now it's impossible to set focus to submenu items by Right\Left Arrow keyboard interaction, but it's expected according to WAI-ARIA: https://www.w3.org/WAI/ARIA/apg/patterns/menubar/#keyboardinteraction

https://github.com/gravity-ui/uikit/assets/74184888/ea86bec3-b38f-49c6-9827-f05047b60ae0

Request: add an ability to navigate through menus and submenus by Right/Left Arrow (like how it works with Enter and Esc now).

amje commented 1 month ago

Will be fixed in #1430