[Accessibility]: Notepad: Relevant action buttons are not focused when activating "Remove all notes" button
Created by: fkling
Audit type
Keyboard navigation
User journey audit issue
https://github.com/sourcegraph/sourcegraph/issues/34198
Problem description
- Enable notepad by going to https://sourcegraph.com/notebooks and click the "Enable Notepad" button (notepad should be visible in the bottom right corner).
- Perform a search on https://sourcegraph.com/search that yields a non-trivial amount of search results.
- Add at least one entry to the notepad
- Focus and active the "Remove all notes" button
At this point the confirmation panel shows up but the focus is still on the "Remote all notes" button, which means the user has to Shift+Tab to the "Cancel" and "Yes, delete" buttons (and focusing "over" the "Create Notebook" button in that process).
Expected behavior
Focus the "Cancel" button when the panel shows up, so that that action can be activated directly, and "Delete all" can be activated after a single tab.
Additional details
No response
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.