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

Re: [csswg-drafts] [css-color-adjust-1][mediaqueries-5] Fold `forced-colors` and `prefers-contrast`? (#3856)

From: Andrew Macpherson via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Jul 2020 06:47:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-658579795-1594795678-sysbot+gh@w3.org>
One benefit of keeping `prefers-contrast` and `forced-colors` separate, is that authors have different responsibilities when supporting them....

* `prefers-contrast`: the user wants higher or lower contrast, but is happy for the website to choose the actual colours. As an author, I need to support that by providing a different palette, and perhaps other things like strong borders for buttons. I can keep the colour palette on-brand, so long as it respects the request for contrast levels.
* `forced-colors`: the user wants their own colours. As an author, I shouldn't be messing about with colour here; instead, I should make sure my content doesn't break because it relies on a property which has been reverted.

GitHub Notification of comment by fuzzbomb
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3856#issuecomment-658579795 using your GitHub account
Received on Wednesday, 15 July 2020 06:48:01 UTC

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