dequelabs / dequelabs/axe-core

Lighthouse and axe-core extension flagging buttons for missing labels even if it is not focusable

Open
#4,888 3 comments 0 reactions 0 assignees View on GitHub
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

abc

#### Additional context
Any thing else we should know about the issue?

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.