Re: [csswg-drafts] [css-color] It should be possible to specify the contrast algorithm for color-contrast() (#7356)

> Not only that, but: AA encompasses two discrete ratios, 3:1 and 4.5:1, and AAA encompasses three distinct ratios, those of AA, and the additional 7:1.

Yes, we know; in CSS [we have separate keywords for those](https://drafts.csswg.org/css-color-6/#colorcontrast):

>> The keyword AA is equivalent to 4.5, AA-large is equivalent to 3, AAA is equivalent to 7, and AAA-large is equivalent to 4.5 .

> And the 3:1, 4.5:1, and 7:1 as calculated by WCAG 2 math are different than every other contrast math,

Yes, that is what "Because levels don't mean anything outside their algorithm" is saying.

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


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

Received on Monday, 20 June 2022 13:13:28 UTC