- From: Eric Eggert via GitHub <sysbot+gh@w3.org>
- Date: Tue, 02 Aug 2022 20:52:07 +0000
- To: public-css-archive@w3.org
> 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 . I would be cautious to have the `AA`, `AA-large`, `AAA` and `AAA-large` keywords as they only apply to text. For graphical elements AA requires only a 3:1 contrast. While I think it would be neat to be able to specify the contrast by level, it might be better to – by default – assume 4.5:1, and allow users to specify a different contrast ratio if they want to. A 4.5:1 contrast ratio is sufficient or better for all cases apart from AAA (non-large), and there are not many who aspire to AAA (unfortunately). (I think it would also be good to explore requiring the whole contrast ratio `X.x:1` instead of just the number before the `:1`. I floated the idea of leaving off the `:1` a few years ago and while details escape me, having a ratio was seen as communicating clearer that this is about how two colors behave in coordination with each other. In the end, it might be good to align with WCAG/AG WG on that matter.) -- GitHub Notification of comment by yatil Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7356#issuecomment-1203202848 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 20:52:09 UTC