Open
Bug 1543929
Opened 5 years ago
Updated 2 years ago
[contrast] The contrast checker gives a wrong result with some background images
Categories
(DevTools :: Accessibility Tools, defect, P2)
DevTools
Accessibility Tools
Tracking
(Not tracked)
NEW
People
(Reporter: julienw, Unassigned)
Details
Attachments
(2 files)
STR:
- Open https://www.newtech.fr/newtech/
- Open the devtools' accessibility panel.
- Resize the window so that the red text goes on top of the red part of the background image.
- Inspect the red title text with the accessibility panel.
=> Notice that the tool tells that the contrast is good, while it's pretty clear it isn't.
I believe it works by taking the darkest and the lightest pixels only, but we clearly see in this example that it's incorrect.
Reporter | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
|
||
Right now the way we determine contrast range is by taking background colour values that have lowest and highest luminance. As seen here this approach sometimes fails when there's an intermediate background colour value that might have a problematic contrast compared to the font colour.
Priority: -- → P2
Summary: The contrast checker gives a wrong result with some background images → [contrast] The contrast checker gives a wrong result with some background images
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•