- From: Nigel Megitt via GitHub <sysbot+gh@w3.org>
- Date: Fri, 13 Jul 2018 14:06:15 +0000
- To: public-tt@w3.org
nigelmegitt has just created a new issue for https://github.com/w3c/imsc: == More color contrast non-compliance == See #391 for additional links. The color of code blocks is `#C83500` which on the background color of permitted-deprecated blocks (`class="deprecation"`) of `#E6E6FA` is [not WCAG compliant](https://snook.ca/technical/colour_contrast/colour.html#fg=C83500,bg=E6E6FA) according to snook.ca. In fact the color of those code blocks is _never_ WCAG 2 AAA compliant even on a white background, but we should at least target AA compliance, which can be achieved by setting the background color to `#EBEBFE`, which I propose we adopt. In example fragments, the color of comments in the class `hljs-comment` is `#999988` which on an example background color of `#FFFFC8` is [non-compliant](https://snook.ca/technical/colour_contrast/colour.html#fg=999988,bg=FFFFC8). There doesn't seem to be any good reason to use this comment class so I propose fixing by just not using it. Then the color of `#333333` on that background [is compliant](https://snook.ca/technical/colour_contrast/colour.html#fg=333333,bg=FFFFC8). I've not done an exhaustive check (I suspect there's a tool for that...) but those two caught my eye. Please view or discuss this issue at https://github.com/w3c/imsc/issues/432 using your GitHub account
Received on Friday, 13 July 2018 14:16:20 UTC