dequelabs / dequelabs/axe-core

Should color contrast matcher exclude `aria-disabled=true` on parent elements?

Open
#1,766 1 comment 0 reactions 0 assignees View on GitHub
false negative rules
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

The color-contrast-matcher does not match elements if they have any parent node with `aria-disabled=true`. We should research if `aria-disabled` propagates to children properly and if the child is really disabled.

If not, we should check the element still and then mark it as needs review instead of failing if an ancestor has `aria-disabled=true`.

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.