dequelabs / dequelabs/axe-core
Color-contrast should skip elements behind a non-native modal backdrop
Open
color contrast
fix
rules
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
Spotted this problem here:
https://kanecohen.github.io/modal-vanilla/

Axe-core does not run color-contrast against texts when they are covered by a backdrop op a native HTML `` element. However when you do the same with javascript modal (one that doesn't set aria-hidden=true) the text behind the backdrop is failed for having low contrast when the backdrop is on top of it.
Contributor guide
Assessment
This issue has not been assessed yet.