How to Fix Your Low-Contrast Text The article explains that low-contrast text is the most common web accessibility defect, affecting nearly 84% of popular homepages according to the 2022 WebAIM Million report. It introduces color contrast ratios as a measurement tool, noting that ratios range from 1:1 (no contrast) to 21:1 (maximum contrast), and emphasizes that even visually distinct colors can have poor contrast ratios that make text difficult to read. What if the web got better over six weeks? The WebAIM Million report for 2022 identifies the six most common accessibility defects WebAIM found on the million most popular homepages: - Low-contrast text you are here - Missing alternative text for images - Empty links - Missing form input labels - Empty buttons - Missing document language In his blogpost What if… one day everything got better?, Dave Rupert proposes tackling spending some time tackling each of these issues, one per week, over the next six weeks until Global Accessibility Awareness Day. Once those six weeks are done, you’ll have cleared away some of the web’s most prominent barriers to access on your own sites. I promised Dave he had my sword, and so this is Part 1 of six resources geared towards helping you make sense of the most common accessibility defects and what you can do about them. The Web Content Accessibility Guidelines’ first principle of accessible content is that content must be perceivable. After all, you can’t access information or functionality if you can’t make out that it’s there The most surefire way, it seems, to ensure users can’t make out your content is to set it in a color that doesn’t stand out from its background — in other words, to have a low color contrast. People can struggle with low contrast for a variety of reasons — maybe there’s a glare from the sun reflecting off of their screen — but low-contrast text has an outsized impact on visually disabled users such as those with low vision or who are colorblind. On top of that, low-contrast text is everywhere. The WebAIM Million report for 2022 found that nearly 84% of the 1 million most popular homepages had at least one low-contrast violation, with an average of 31.6 distinct instances of low-contrast text per homepage. A 2021 report from Deque Systems PDF found that low-contrast text made up 30% of automatically detectable accessibility defects, making it the most common accessibility defect by far. Remediating low-contrast text could go a long way towards making the web more usable. Let’s dive into how we can measure contrast, remediate low contrast easily, and build sufficient contrast into our sites going forward. Get Ratioed The easiest way to get started is with a color contrast checker. Tools such as the WebAIM Contrast Checker will take a pair of colors you give it and spit out a contrast ratio. Meanwhile, if you’ve already deployed your site and colors live for the world, you can use full-page accessibility scanning tools such as the axe DevTools extension, and they’ll perform color contrast operations for every bit of text and background on your page and identify specific elements on your page with insufficient contrast. Either way, you’ll get a color contrast ratio as a result. These ratios take the format