3 ms·
WCAG contrast calculations are designed to account for this: "Color deficiencies can affect luminance contrast somewhat. Therefore, in the recommendation, the c
by mkozlows 11y ago
WCAG 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