[chip] Chip with `onDelete` is not accessible
Open
Nobody has claimed this yet.
accessibility
scope: chip
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Steps to reproduce
Steps:
- Open this link to live example: https://mui.com/material-ui/react-chip/#deletable
- Inspect the a deletable chip in the DOM.
- Check for aria-label or any accessible name on the chip.
Current behavior
The deletable chip has no aria-label.
Expected behavior
The delete icon button should have an aria-label that clearly indicates that activating it will delete the chip.
Context
No response
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: Chip
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the Chip component implementation behind the deletable example at https://mui.com/material-ui/react-chip/#deletable as the entry point. Inspect the delete icon button and verify in the live example that it exposes a clear accessible name indicating deletion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100