dequelabs / dequelabs/axe-core

aria-conditional-attr should flag checkboxes even if the states are aligned

Open
#4,810 2 comments 0 reactions 0 assignees View on GitHub
feat ungroomed
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

### Product

axe-core

### Feature Description

Currently axe-core only flags aria-conditional-attr on a checkbox if aria-checked and the native state are out of sync IE ``. This defeats the purpose. Since WCAG says the practice is an anti-pattern in general, it would be ideal to flag this even when the states are aligned. https://dequeuniversity.com/rules/axe/4.10/aria-conditional-attr?application=AxeChrome

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.