Script of the Month: Color Contrast Validator
This month’s exclusive script can be used to test the contrast of your color swatch combinations without ever leaving InDesign.
This article appears in Issue 149 of InDesign Magazine.
Contrast is such a key topic in the realm of accessibility that it’s mentioned in three of the articles in Issue #149 of InDesign Magazine. The various tools and services for checking contrast cited in those articles have one thing in common: They all take you out of InDesign. And, most of them involve a significant amount of manual work to check specific color combinations.
The month’s Script of the Month offers the double benefit of allowing you to check the contrast of many color combinations against the WCAG 2.1 standards in an automated fashion without ever leaving InDesign.
To get the script, head to accessibilityscripts.com.
Use the coupon code ccv_idsom (valid through July 31, 2022) during the checkout process to download the script for free.
When you run the script, you can choose whether to compare two swatches or all swatches in your document.

If you compare two swatches, you can see which tints pass the validation test. If you compare all swatches, you can see the contrast values for every possible combination of foreground and background colors.

Commenting is easier and faster when you're logged in!
Recommended for you
The RGB Color Atlas
If you liked the news story earlier this week about the 99 Shades of Grey book,...
Making Variable Bar Graphs in InDesign with Data Merge
Learn how to make bar graphs in InDesign, using an Excel formula, Data Merge, an...
Scanning Around With Gene: Books That Fit in a Purse
When I was growing up, one of the staples of the supermarket checkout line was a...
