Skip to content

Accessibility: Close button in search context dropdown cannot be activated with keyboard

Warren Gifford requested to merge contractors/SG-34720 into main

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

  1. Follow Problem description section above
  2. 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.

Merge request reports

Loading