Summary

The Juicy Studio Colour Contrast Firefox Extension has been updated to match the latest version of the draft Web Content Accessibility Guidelines 2.0, and includes a patch that checks for contrast for input elements.

Author: Gez Lemon

One of the updates from the draft Web Content Accessibility Guidelines 2.0 is a change to the algorithm to determine whether the contrast between foreground and background colours is sufficient. As well as updating the algorithm itself, the thresholds have changed to consider large and bold text (at least 18 point or 14 point bold). I've updated the Colour Contrast Firefox Extension to incorporate the changes.

The extension only checked the colour contrast between foreground and background colours on text nodes, so didn't include empty elements, such as input for form controls. Maurice Lanselle contacted me with a patch to include input elements whose type is one of submit, reset, button, text, file, or password. The patch is included in this update; many thanks to Maurice.

I would also like to extend my gratitude to Makoto Ueki and Peter Mikolajski, who both responded very quickly in providing translations for the threshold results; thank you both.

Category: Accessibility.

Comments

Comments are closed for this entry.