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

[csswg-drafts] [css-color-adjust] Properties to control backplates? (#5038)

From: Chris Harrelson via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 May 2020 23:16:55 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-611033429-1588375014-sysbot+gh@w3.org>
chrishtr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-adjust] Properties to control backplates? ==
The Chromium implementation of forced-colors mode puts a backplate behind all text [1] so that readability of the text is guaranteed.

When a browser is in dark mode (either via a forced dark mode, or developer opt-in), there are cases where backplates are desired. For example, if there is text meant to overlay an image, contrast between the text and image may not be good enough; developers may also appreciate the convenience of a UA-supplied backplate.

Proposal: have a CSS property that controls whether the backplate is present. Maybe user agents could be allowed by default to apply backplates, and `color-adjust: exact` would opt-out? This would prioritize usability of the page over developer styling, which sounds right to me.


[1] See [this explainer](https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/master/Accessibility/HighContrast/explainer.md) for screenshots and details.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5038 using your GitHub account
Received on Friday, 1 May 2020 23:16:57 UTC

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