Jun 6th, 2022
·
3 min read
Here we go again. It’s time for our next lesson!
Recently, after evaluating the home pages of the top one million websites, the WebAim Million report identified the top six most common WCAG (Web Content Accessibility Guidelines) compliance failures. Today’s lesson is going to cover the most common failure: Color Contrast; specifically “Low Contrast Text”.
Around 70% of individualsThis link opens in a new tab that have a diagnosed disability, experience blurred vision. But addressing low contrast text doesn’t just help individuals with visual impairments and disorders, it provides a better experience for everybody.
But before we jump into that, I need to give you a brief introduction to WCAG’s priority levels.
WCAG has three priority levels: A, AA, and AAA. Each level has its own list of guidelines, and depending on what type of product you’re building or which industry you’re operating in, you will need to comply with different levels. It breaks down to essential compliance, acceptable compliance, and optimal compliance.
In WCAG, the contrast is the measure of the difference in brightness or “luminance” between two colors. The difference in the colors is expressed as a ratio ranging from 1:1 (e.g. white on white) to 21:1 (e.g. black on white).
For compliance with WCAG level AA, the minimum required color contrast ratio for “the visual presentation of text and images” is 4.5:1. There are 3 exceptions to this rule.
For compliance with WCAG level AAA, the contrast requirements are more stringent. The minimum required contrast is 7:1 for normal text and 4.5:1 for large text.
If you’re looking for a tool to check these contrast ratios, WebAimThis link opens in a new tab has a great tool that you can use.
Hopefully, now you have an understanding of how to meet WCAG color contrast standards and why these standards are both important and beneficial.
See you again next lesson where we will be learning all about accessible images.
Enjoyed this post?
Make sure to subscribe so you don't miss out on the next one