Articles and Research

The Pros and Cons of the PAC 2021 Color Contrast Check
Earlier this year, the new PAC 2021 checker was released, and it contained some amazing new features to help us make PDF files compliant. Among the new features was the ability to check compliance against the WCAG specification in addition to the existing ability to check against the PDF/UA standard. Another great addition was checking the color contrast of text elements against their background color. This is a task that, before PAC 2021, was a completely manual process, so when this feature was added, we were all excited at the prospect of not having to painstakingly sift through our files for contrast issues.
As more users started using the PAC 2021 Checker, we started hearing some rumblings from users that contrast issues were being flagged in PAC 2021 for color combinations that did, in fact, meet the color contrast requirements. Initially, we were skeptical that this was happening until it occurred on one of our own projects. We clearly had a color combination that met the color contrast requirements. We checked and double-checked, and sure enough, PAC 2021 flagged the color combination as an error.

We set out to determine why this was happening. For our test, we used Adobe InDesign as the source document only because it provides the most control over content formatting. Whenever we ran into this error, the source document was usually Adobe InDesign. We began by creating a variety of samples using white text on a black background since that’s the highest possible contrast and should always pass. We discovered that basic examples consisting of the background using a filled shape passed without a problem; it wasn’t until a more advanced formatting technique was used that the failure occurred.
In InDesign, it’s common to use techniques other than filled shapes for maximum editing capabilities such as rule above/below, underline, and paragraph shading. We discovered that the rule above/below and underline failed even though the color contrast technically passed. All other techniques, including paragraph shading, passed the PAC 2021 Checker without a problem. We reached out to the developer of PAC 2021 to get some answers as to why this was happening, and they acknowledged the results that we found. It turns out that the rule above/below and underline features in InDesign create the effect using a border property instead of a fill.
Currently, the PAC 2021 Checker does not check border properties when it evaluates color contrast, which is why we see the false positives on some elements (such as a rule above/below and underline) in a document. The developer did indicate that they will be adding the border evaluation for color contrast in a future release but could not give a timeframe for the release. Although this testing was done using Adobe InDesign, we would expect similar results in other applications that allow you to apply text formatting attributes similarly. For now, the answer is to check any failures manually to determine if they do or do not meet the color contrast requirements. We are very anxious for this problem to be resolved as clients often request a report confirming full compliance.
Unfortunately, when elements don’t pass color contrast in the report, it’s difficult to explain to the client that even though it doesn’t pass the PAC 2021 Checker, the contrast still meets the requirements. Hopefully, this problem is short-lived and will be resolved in the next release.

Need to speak with an expert right away?
Go to our Chax Expert Help Desk right away.
In this article:
Related Content
Related classes
Need help making your digital content more accessible?
Unravel common accessibility compliance principles! Download this useful WCAG in Plain English reference card.









