dequelabs / dequelabs/axe-core

Failure to specifying foreground colors without specifying background colors or vice versa

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

Description

I'd like axe to evaluate for [Failure of Success Criterion 1.4.3, 1.4.6 and 1.4.8 due to specifying foreground colors without specifying background colors or vice versa](https://www.w3.org/WAI/WCAG21/Techniques/failures/F24).

Evaluating that both are present seems to be an "easy enough" test of CSS.

Product: axe-core

Expectation: I'd like to see a notice that this is a failure of WCAG 2.1 AA.

Actual: It is missed from the crawl.

Motivation: I saw it in another tool and it occurred to me, "why didn't my axe scans identify this?"

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.