[Accessibility] Search sources widget needs to be accessible.
Here is a list of accessibility improvements for the search sources interface (note: autocomplete accessibility should be worked on in #4071 ):
Search Input
- [x] Magnifying glass icon should have an ARIA role of "presentation" as it doesn't carry any meaningful semantics.
- [x] input element should have a type of "search".
- [x] input element should have keyboard focus styling.
- [ ] Results number section "X results" should have an ID set. This way we can apply an ARIA attribute aria-describedby on the input field.
- [x] Close button should be an actual button or at least have a role "button". It should have styling for focused-with-keyboard case. It should also be focusable and actionable with the keyboard.
Bottom Bar
- [ ] "Search sources..." and "Find in files…" are not accessible. Semantically they should be radio buttons that are mutually exclusive. User should also be able to navigate to them using the keyboard only (tabbing to). They should also be actionable when Enter/Space are pressed.
- [ ] When "Search sources..." is selected and keyboard focus is inside the input there is a keyboard trap. There is no way to tab out of the input field (neither forward nor back).
Screenshot

/claim
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
/unclaim
Done :+1:
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
/claim