[csswg-drafts] [css-color-6] Meta-issue: `color-contrast()` issues (#7553)

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

== [css-color-6] Meta-issue: `color-contrast()` issues ==
This is a meta-issue for the various `color-contrast()` issues. 

A summary of the current situation is as follows:

- **Biggest roadblock:** There is currently no problem-free contrast algorithm we could use as a default.
 - WCAG 2.1 algorithm, despite very wide usage, is severely flawed, even for only grayscale colors, or only picking between black and white. [False positives/negatives up to 40% (!)](https://www.cedc.tools/article.html).
 - APCA which has been advertised as a successor has issues too, including [a patent disclosure](https://www.w3.org/2004/01/pp-impl/patents/174?fbclid=IwAR3UBZB1WlBDpuelNWqukpPDmGBpXju7O94OEM2Bs2m3HBbz2nSp6A9_V2g) (not an exclusion), which makes baking it in CSS tricky.
 - There are [other contrast algorithms](https://colorjs.io/docs/contrast.html) (Weber, Michelson etc) but do not generally produce good results.
 - Relevant issues:
  - #7356 
  - #7361
- The function as currently designed doesn't even satisfy many of designers' use cases
 - #5153
 - #7360
- The syntax of the current `color-contrast()` function is confusing and doesn't work for all contrast algorithms
 - #7354
 - #7359 

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


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

Received on Tuesday, 2 August 2022 14:07:29 UTC