[csswg-drafts] [css-color-adjust-1] Forced colors mode usage beyond high contrast mode (#6664)

beverloo has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-adjust-1] Forced colors mode usage beyond high contrast mode ==
https://www.w3.org/TR/css-color-adjust-1/#forced-colors-mode
https://www.w3.org/TR/mediaqueries-5/#forced-colors

[css-mediaqueries-5] defines a new `forced-colors` media query, that can be set to `active` when "forced colors mode" is active. This is defined as:
> Forced colors mode is an accessibility feature intended to increase the readability of text through color contrast. [...] Users can also customize their own themes, for example to provide low contrast or hue contrast.

Chrome has an experimental feature (available in chrome://flags) to apply a _generated_ Dark Mode to Web Contents that don't provide one themselves. It strikes me that allowing developers to detect this as follows would be very appropriate:

```css
@media (prefers-color-scheme: dark) and (forced-colors: active) {}
```

I'd like to ask whether it would be appropriate to scope up this definition?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6664 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 22 September 2021 13:30:43 UTC