dequelabs / dequelabs/axe-core
Support label-content-name-mismatch Technique F96 failure
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
Ticket https://github.com/dequelabs/axe-core/issues/4678 pointed out the following example does not fail the `label-content-name-mismatch` rule even though it is a [failed example of Technique F96](https://www.w3.org/WAI/WCAG21/Techniques/failures/F96)
```html
deque labs are great
```
The rule [specifically ignores](https://www.w3.org/WAI/standards-guidelines/act/rules/2ee8b8/proposed/#applicability) elements that do not have an `aria-label` or `aria-labelledby` attribute, so supporting this would be an enhancement to the rule.
Contributor guide
Research direction
Start by reading the label-content-name-mismatch rule and its applicability behavior, especially the handling of aria-label and aria-labelledby. Use the Technique F96 example as the regression case; done means the provided link markup fails the rule while existing cases continue to pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- accessibility, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100