Skip to content

[Accessibility]: add command to focus notifications through the command palette

Created by: tjkandala

Audit type

Keyboard navigation

User journey audit issue

#34054 (closed)

Problem description

On the search page with the search-export extension enabled, click on the Sourcegraph: Export search results action. Observe that a notification pops us with a CSV download link. This link is near the end of the tab order, and due to our infinite scrolling search results list it takes really long to focus the link.

Expected behavior

An idiom in editors (like VS Code) is exposing a command (in the keyboard navigable command palette) to focus elements that are out-of-the-way. We can add a command to our command palette to focus the first notification, from which users can tab to subsequent notifications.

Additional details

Screen Shot 2022-06-07 at 5 29 06 PM

Assigning labels

  • Please give this issue an estimate by applying a label like estimate/Xd, where X is the estimated number of days it will take to complete.
  • If this issue is specific to a specific Sourcegraph product, please assign the appropriate team label to this issue.
  • If this issue will require input from designers in order to complete, please assign the label needs-design.
  • If you are confident that this issue should be fixed by GitStart, please assign the label gitstart.

Owner

This issue will be fixed by my team, I have assigned a relevant member to it, or I will do so in the near future.