Skip to content

Conversation

@PosikBoy
Copy link
Contributor

Closes #2507

If a DropdownMenu contains a submenu, it currently opens on hover when the user moves the mouse over the item that triggers the submenu. However, the submenu is not accessible from the keyboard because it has no keyboard event handlers to open it.

As a result, this makes the submenu inaccessible for screen reader users — the submenu simply cannot be reached without a mouse.

I propose adding the necessary event handlers so that the submenu can also be opened via click (which works with Enter on the focused element and through standard screen reader interaction patterns).

@gravity-ui
Copy link
Contributor

gravity-ui bot commented Nov 18, 2025

🎭 Component Tests Report is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DropdownMenu: accessibility fix

1 participant