- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Tue, 14 Jun 2022 17:45:05 +0000
- To: public-css-archive@w3.org
LeaVerou has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color] It should be possible to specify the contrast algorithm for color-contrast() == Since we know that WCAG 2.1 has [huge known problems](https://www.cedc.tools/article.html) and WCAG 3.0 isn't quite ready yet, we should not ship a `color-contrast()` that mandates use of a broken algorithm. Instead, the algorithm should be explicitly specified with either syntax. Since passing levels depend on the algorithm and 4.5 in WCAG 2.1 may not be the same as 4.5 in another algorithm, I'd suggest it's specified via functions, e.g. `color-contrast(white vs yellow, blue to wcag2(4.5))` or `color-contrast(white vs yellow, blue to wcag2(AA))` *(Issue filed following breakout discussions between @svgeesus, @fantasai, @argyleink and I)* Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7356 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:45:07 UTC