[csswg-drafts] [css-color] AccentColor in Forced Colors Mode (#11332)

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

== [css-color] AccentColor in Forced Colors Mode ==
In #5900, we resolved that "AccentColor takes its value from accent-color, and AccentColorText takes its value from the appropriately contrasting foreground color for AccentColor; these resolve at computed value time".

In [Forced Colors Mode](https://drafts.csswg.org/css-color-adjust/#forced-colors-mode), for various color properties, "if its [computed value](https://drafts.csswg.org/css-cascade-5/#computed-value) is a color other than a system color, its [used value](https://drafts.csswg.org/css-cascade-5/#used-value) is instead forced to a system color as follows".

Because `AccentColor` and `AccentColorText` are considered system colors, if these are used by the author, we wouldn't override those colors to another system color in Forced Colors Mode. As such, I am wondering if we should add a clarification to the above resolution that this does not apply in Forced Colors Mode so that we ensure that actual system color is exposed, as opposed to the author `accent-color` in this case?

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


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

Received on Friday, 6 December 2024 17:48:13 UTC