4 ms·
Does the contrast checking catch that?
by edraferi 11y ago
Does the contrast checking catch that?
- acdha 11y agoThe problem is that you'd need to run the contrast test after applying the transform for various types of color blindness because they're fairly different and some seemingly high-contrast color combinations end up fairly similar: http://www.color-blindness.com/2008/10/02/color-blindness-simulator-new-tool-released-on-colblindor/ http://www.color-blindness.com/2008/10/02/color-blindness-si... If you want to test this on your own, http://colororacle.org/ http://colororacle.org/ acts as a screen overlay so you can load any sort of application, web page, etc. and hit a hot-key to see what it looks like with each of the different types of color blindness.
- mkozlows 11y agoWCAG contrast calculations are designed to account for this: "Color deficiencies can affect luminance contrast somewhat. Therefore, in the recommendation, the contrast is calculated in such a way that color is not a key factor so that people who have a color vision deficit will also have adequate contrast between the text and the background." http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contr... So if you pass WCAG color contrast checks, you'll be accessible to users with color deficiency as well as low vision.
- acdha 11y agoGood point – unfortunately, it doesn't look like htat's what the plugin here does: https://github.com/Khan/tota11y/blob/952427485a49bde0f498e9d8f70932456f3f7052/plugins/contrast/index.js https://github.com/Khan/tota11y/blob/952427485a49bde0f498e9d... https://github.com/GoogleChrome/accessibility-developer-tools/blob/9183b21cb0a02f5f04928f5cb7cb339b6bbc9ff8/src/js/Color.js#L87-L104 https://github.com/GoogleChrome/accessibility-developer-tool... Definitely a good feature request