[Accessibility]: Code Insights — context menu doesn't announce items within menu #41814
Description
Audit type
Screen reader navigation
User journey audit issue
https://github.com/sourcegraph/sourcegraph/issues/33502
Problem description
If you open the code insight context menu (three-dot menu) on the dashboard page screen reader doesn't announce the focused item, and therefore, you can't figure out on which item you're currently focused.
UPDATED: we do not focus the first item menu and because of this voice-over navigation doesn't work properly (in a standard screen reader way)
Expected behaviour
Screen reader should announce available (not disabled) and focused items in the context menu.
Additional details
I'm tagging frontend platform team because we use MenuButton component for this means which is part of the wildcard. It seems if it doesn't work for code insights it shouldn't work for all other places in the app and we should fix it on the wildcard level.
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
I'm unsure who should work on this issue or if it needs more clarification. I will let the Frontend Platform team triage this.