dequelabs / dequelabs/axe-core

[bug] color-contrast issue detection incosistent

Open
#4,084 3 comments 1 reaction 0 assignees View on GitHub
fix
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

### Product

playwright

### Product Version

4.7.3

### Latest Version

- [X] I have tested the issue with the latest version of the product

### Issue Description

#### Expectation
When performing accessibility tests they should consistently detect `color-contrast` issues.

#### Actual
Of the two visible color-contrast issues, only the button is detected as a problem
![image](https://github.com/dequelabs/axe-core-npm/assets/103483059/a53ef20d-4250-4a7d-81ff-82db73291a92)

#### How to Reproduce
I created a small reproduction repo: https://github.com/DerTimonius/axe-playwright-bug-reproduction

#### Additional context
The Chrome extension is showing the same behavior.

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.