Background
The current state of the ChipInput T337095 has some significant accessibility shortcomings:
- There is nothing semantically connecting the chips with the input
- It may be unclear to screen reader users how to add, remove, or edit a chip
User stories
As a screen-reader user of the ChipInput, I want to perceive the current values of the input and understand what they mean
As a screen-reader user of the ChipInput, I want to be able to easily add, remove, or edit a chip
Previous implementations
- OOUI: TagMultiselectWidget
Design spec
Open questions
How should we implement this?
There are 2 main ways we could add information about the component that is accessible to screen readers:
- Use ARIA attributes and roles. This is what is done in the gmail email recipient UI
- Add visually-hidden information about the chips and how to interact with them
Acceptance criteria (or Done)
Design
- If needed, update the component in the Figma library.
Code
- Implement the improvements (exact updates TBD)