[csswg-drafts] [css-color] color-contrast() should allow specifying multiple contrast algorithms that need to be satisfied (#7357)

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

== [css-color] color-contrast() should allow specifying multiple contrast algorithms that need to be satisfied ==
Assuming we can specify the contrast algorithm at all (see https://github.com/w3c/csswg-drafts/issues/7356), we should be able to specify *multiple* of them as a safeguard for algorithm bugs, as well as to satisfy legal constraints.

E.g. we know that [WCAG 2.1 contrast is severely broken](https://www.cedc.tools/article.html), yet it is legally mandated that websites pass it. Once we have a better contrast algorithm, we may want `color-contrast()` to find us a color pair that **both** satisfies WCAG 2.1, **as well as** the new improved algorithm.

Syntax could just be a space-separated list of contrast algorithms.

*(Issue filed following breakout discussions between @svgeesus, @fantasai, @argyleink and myself)*

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


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

Received on Tuesday, 14 June 2022 17:51:22 UTC