dequelabs / dequelabs/axe-core
Enforce `tabpanel` role on elements controlled by a `tab`
Open
best practice
feat
rules
wai-aria
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 29
Description
### Product
axe-core
### Feature Description
For an element with the `tab` role, `aria-controls` should refer to an element with the role `tabpanel`. This does not seem to be enforced by axe.
Contributor guide
Research direction
Start by reading axe-core's existing checks for tab roles and aria-controls; the issue names no implementation files or tests. Confirm with maintainers whether the requested enforcement is still wanted and which accessibility requirements apply. Done means an agreed check flags a tab whose aria-controls target lacks the tabpanel role, with tests distinguishing valid and invalid targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- accessibility, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 43/100