Closed
Description
Since we know that WCAG 2.1 has huge known problems 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 myself)
Metadata
Metadata
Assignees
Type
Projects
Status
Tuesday