dequelabs / dequelabs/axe-core
Lighthouse and axe-core extension flagging buttons for missing labels even if it is not focusable
Open
ungroomed
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
### Product
axe-core
### Product Version
_No response_
### Latest Version
- [x] I have tested the issue with the latest version of the product
### Issue Description
#### Expectation
As per https://dequeuniversity.com/rules/axe/4.10/button-name, I would expect that buttons with tabindex=-1 should not be flagged for missing aria labels or names.
#### Actual
Buttons which are not focusable are still flagged by lighthouse and axe-core extension
#### How to Reproduce
#### Additional context
Any thing else we should know about the issue?
Contributor guide
Assessment
This issue has not been assessed yet.