react-component / react-component/tabs
Remove button has the role "tab" which is not accessible
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 572
- Forks
- 241
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 4
Description
Remove button on tabs has the "tab" role which is not accessible. Here's the line that causes this:
https://github.com/react-component/tabs/blob/master/src/TabNavList/TabNode.tsx#L131
Contributor guide
No contributing guide indexed for this repository
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
Start at src/TabNavList/TabNode.tsx line 131 and inspect how the remove button is assigned the tab role. Check the surrounding tab and remove-button semantics, then verify that the remove control no longer exposes an inaccessible role while tab behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100