Re: [csswg-drafts] [css-color-6] color-contrast() should distinguish foreground and background (#7359)

> The purpose should assist in WCAG compliance, 

No, the primary purpose is to ensure fluent readability by setting an appropriate level of lightness contrast.

Using the WCAG 2.x formula is one way to do that, but it has well documented problems and other formulae are better.

> therefore I would expect only their approved formulas. Adding any of these other ones suggests they are acceptable alternatives.

Mandating solely WCAG 2.x suggests that it is an acceptable formula; for dark mode, and for many color combinations, it is not.

> I would not recommend multiple contrast formulas, however.

That is

 - https://github.com/w3c/csswg-drafts/issues/7357

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7359#issuecomment-1209197924 using your GitHub account


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

Received on Tuesday, 9 August 2022 10:24:06 UTC