Chrome adds Color Vision Deficiency to Chrome Developer tool

The Chrome developers revealed that they are working on a developer tool called Color Vision Deficiency (CVD, color blindness) that can help developers make their websites more color blind.

According to ColourBlindAwareness.org, there are currently approximately 300 million colorblind people worldwide. Chrome will use DevTools to simulate the styles seen by colorblind people such as full-color blindness, red blindness, and green blindness on any given web page. Include the following:

  1. Support for emulating deuteranopia, protanopia, tritanopia, achromatomaly, and achromatopsia on any given web page through DevTools.

  2. Introduce a Chrome DevTools Protocol API (Emulation#setEmulatedColorVisionDeficiency) to support programmatically enabling these emulations through CDP.

  3. Introduce a new Puppeteer API to support programmatically enabling these emulations through CDP.

  4. Expand the contrast checker in the DevTools colorpicker widget to also check for contrast issues across known color vision deficiencies. (Think “Contrast looks good… except for people with <insert CVD here>! Click here to preview it.”)

  5. Add a Lighthouse test to the Accessibility audit that makes use of the new functionality, and checks contrast levels for each emulation.

In the long run, CVD will ideally receive first-level support at the Blink Renderer level, so filters can be applied to documents without changing the document or affecting the calculation style.

Chrome 82 is expected to join the tool, but the Canary version experience is currently available.