W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2021

Re: [csswg-drafts] [css-color-5] Make it easier for authors to select the right WCAG level in color-contrast() (#6319)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Thu, 27 May 2021 15:36:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-849735028-1622129803-sysbot+gh@w3.org>
Automating this is a good idea in theory,and leveraging the ability of CSS to convert between length units is attractive.

However there is some hand-waving in WCAG 2.1 which makes this less algorithmic and thus more difficult to implement. For example

> or font size that would yield equivalent size for Chinese, Japanese and Korean (CJK) fonts


> For many mainstream body text fonts, 14 and 18 point is roughly equivalent to 1.2 and 1.5 em or to 120% or 150% of the default size for body text (assuming that the body font is 100%), but authors would need to check this for the particular fonts in use.

The precise nature of the _font-specific check_, or the definition of _equivalent font size for CJK_, could use some clarity.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 27 May 2021 15:36:46 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:33 UTC