Accessibility: Close button in search context dropdown cannot be activated with keyboard
Created by: gitstart-sourcegraph
Problem description
Open Sourcegraph
Open search context dropdown by focusing on the search context and pressing space or enter
Press shift+tab to focus on the close button
Press enter or spacebar, observe nothing happens
Description
Add support for closing context menu with keyboard Enter
/ Space
key
Refs:
SourceGraph Issue GitStart ticket
Test plan
- Follow Problem description section above
- Notice that when spacebar or enter key is clicked on (with focus) on close button, the menu is closed.
App preview:
Check out the client app preview documentation to learn more.