dequelabs / dequelabs/axe-core

False positive color contrast violation of elements inside particular tables

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

Description

### Product

axe-core

### Product Version

4.10.2

### Latest Version

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

### Issue Description

#### Expectation
I would not expect the `Lorem` to be reported as a color contrast violation.

#### Actual
The `Lorem` is reported as a color contrast violation.

#### How to Reproduce

I'll preface by saying that this is a _very_ bizarre bug observing just it's symptoms... It took quite a bit of time to reduce it down to what I think is the base case. I've added some notes in the snippet below that elaborate a bit more on what role each part plays. I've also added a screenshot that shows the output from the code below.

An image of the  Lorem span clearly displayed as white text on a black background

```


Contrast Violation Test






Lorem






```

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.