Pages with `color-scheme: dark` have too low link color contrast (in browsers that implement `color-scheme`)
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: steiner.thomas, Unassigned)
References
Details
Attachments
(1 file)
498.00 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0
Steps to reproduce:
This is a potential blocker for https://bugzilla.mozilla.org/show_bug.cgi?id=1525107 and https://bugzilla.mozilla.org/show_bug.cgi?id=1576289
URLs (if applicable): https://color-scheme-demo.glitch.me/
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari: Fail
Chrome: Fail
IE/Edge: Fail (for old IE and new Edge)
Actual results:
What steps will reproduce the problem?
- Go to https://color-scheme-demo.glitch.me/
- Note how when the page is toggled to
color-scheme: dark
all user agent stylesheet link colors (apart from :active) have too low contrast.
Link colors (except for :active) should have enough contrast.
Expected results:
Link colors (except for :active) don't have enough contrast.
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•5 years ago
|
||
I have opened https://github.com/whatwg/html/issues/5426 for cross-vendor awareness.
Comment 3•4 years ago
•
|
||
I don't think this bug is testable or reproducible in Firefox, since we don't support color-scheme
, per bug 1525107 [edit: sorry, I meant bug 1576289] (and the compat chart at https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme )
Am I understanding that right, or am I missing something here?
Reporter | ||
Comment 4•4 years ago
|
||
That's correct, it's currently not reproducible. It's meant as a "forward-looking" bug. If you implement color-scheme
, which, I think, you really should, then be aware that default colors need adjusting. Sorry if this wasn't clear from the previous comment (I used a Safari screenshot on purpose).
Comment 5•4 years ago
|
||
Gotcha. Sounds like there's some spec work that needs to be done, per:
https://github.com/whatwg/html/issues/5426#issuecomment-607396423
https://github.com/whatwg/html/issues/5426#issuecomment-608392373
https://github.com/whatwg/html/issues/5426#issuecomment-633867511
Comment 6•3 years ago
|
||
This should be fixed once we enable color-scheme support.
Description
•