W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] [mediaqueries-5] prefers-contrast: infer contrast preference from forced colors (#5224)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Fri, 24 Jul 2020 13:48:17 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-663547509-1595598496-sysbot+gh@w3.org>
As part of applying the resolution in https://github.com/w3c/csswg-drafts/issues/3856, I've included a mention that UAs should infer `low` or `high` based on the actual contrast of the forced color scheme.

See the Note in https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-contrast-forced.

For now, I have not included a recommendation (or a requirement) such as the one suggested above to activate `high` above 7:1, and `low` below 4.5:1.  Having interoperability is good, and using WCAG as a baseline seems like a good start, but at the same time, I'm unsure these are the right thresholds. WCAG AAA or better is good contrast. Is that the same as high contrast, or should the bar be higher, like maybe 10:1? Same for `low`: WCAG AA, even if it isn't as high as AAA, is still decently contrasty. is that low enough for "low contrast", or should we go a bit lower, like maybe 3:1?

Or, we could continue to leave that up to UA heuristics?

GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5224#issuecomment-663547509 using your GitHub account
Received on Friday, 24 July 2020 13:48:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC