Lekt logo Lekt
WCAG_2_2:1.4.3-1 WCAG 2.2 Offline Detection (veraPDF 1.30.4)

WCAG_2_2:1.4.3-1: PDF Text Color Contrast Ratio Below WCAG 2.2 Minimum (4.5:1 / 3:1)

This error indicates that the visual contrast ratio of text in your PDF does not meet WCAG 2.2 requirements (4.5:1 for normal text, 3:1 for large-scale text). This impacts screen readers like NVDA, JAWS, and VoiceOver by making text harder to perceive for users with visual impairments. Lekt detects the issue but does not auto-fix it, as changing foreground/background ink colors alters visual brand design. Manual design changes in the source document are required.

veraPDF Rule ID
WCAG_2_2:1.4.3-1
Validated Object
SATextChunk
Matterhorn 1.1
WCAG 2.2 Machine Profile
Validation Profiles
WCAG-2.2-MACHINE
PDF/UA-2 Equivalent
No direct 1:1 PDF/UA-2 rule
Lekt v1.8.2 Mode
Offline veraPDF 1.30.4 WCAG 2.2 Profile Checker (Exact Page & Contrast Ratio Report)

1. Official Rule Definition & Machine Verification Evidence

Official veraPDF XML Definition: The visual presentation of text and images of text has a contrast ratio of at least 4.5:1. Large-scale text and images of large-scale text have a contrast ratio of at least 3:1
Machine Test Predicate: textSize < 4.5 || ((textSize >= 18.0 || (textSize >= 14.0 && textWeight >= 700.0)) ? (contrastRatio >= 3) : (contrastRatio >= 4.5)) || parentsStandardTypes.split('&').filter(elem => elem == 'Figure').length > 0
Verbatim Error Message: contrastRatio = %1

The `SATextChunk` object in the PDF is evaluated against the `test_expression` in veraPDF, which checks the `textSize` and `contrastRatio` values. If the text is not large-scale (i.e., less than 18pt or 14pt with bold weight), it must have a contrast ratio of at least 4.5:1. If the text is large-scale, the minimum is 3:1. The `contrastRatio` is calculated based on the luminance values of the foreground and background colors using the formula (L1 + 0.05) / (L2 + 0.05), where L1 is the luminance of the lighter color and L2 is the luminance of the darker color. If the ratio is below the required threshold, the rule fails. This is a machine-checkable rule under the WCAG 2.2 profile and does not reference ISO 32000-1.

2. Minimal Reproducible PDF Structure (Before vs. After)

A minimal PDF content stream with a text object using a small font size (e.g., 12pt) and a low-contrast color pair (e.g., light gray on white) will trigger this error. The `SATextChunk` object will be flagged by veraPDF if the calculated `contrastRatio` is below 4.5:1.

Fails WCAG_2_2:1.4.3-1
BT
/F1 12 Tf
0.8 0.8 0.8 rg
/G0 gs
100 700 Td
(Example Text) Tj
ET
Compliant PDF Structure
BT
/F1 12 Tf
0 0 0 rg
/G0 gs
100 700 Td
(Example Text) Tj
ET

3. Common Authoring Triggers & Checker Differences

Microsoft Word

Exporting to PDF with low-contrast text colors (e.g., gray on white) and small font sizes.

Adobe InDesign

Using low-contrast text colors in paragraph styles and exporting without adjusting for accessibility.

LaTeX

Using default or custom color macros for text that do not meet contrast requirements.

PAC 2024 vs. Adobe Acrobat Full Check vs. veraPDF 1.30.4: Adobe Acrobat Full Check marks Color Contrast as “Needs manual check” rather than computing ratios automatically. PAC 2021/2024 includes WCAG text contrast checks on Windows, while veraPDF 1.30.4 (embedded in Lekt on both macOS and Windows) evaluates pixel-rendered WCAG 2.2 1.4.3-1 contrast ratios offline.

4. Manual Remediation Steps

In Adobe Acrobat Pro

  1. Open the PDF in Adobe Acrobat Pro DC.
  2. Use the Accessibility tool to select the problematic text.
  3. Adjust the text color to a higher contrast (e.g., black on white) using the Properties panel.

In Upstream Source Tools (Word / InDesign / LaTeX)

  1. In Microsoft Word, adjust the text color to a high-contrast pair (e.g., black on white) and ensure font size is at least 12pt.
  2. In Adobe InDesign, update paragraph styles to use high-contrast colors and verify font sizes meet WCAG 2.2 requirements.
  3. In LaTeX, modify color macros to use high-contrast colors and ensure font sizes are appropriate.
  4. In the PDF content stream, explicitly define the background using `/G` (gray) or `/K` (CMYK) before the text object. For example, to set a white background, add `/G0 gs 1 1 1 RG 1 1 1 g` before the text object to ensure the background is defined for contrast calculation.

5. Offline Verification & Remediation in Lekt (Zero Cloud Uploads)

Honest Capability Scope (WCAG 2.2 Offline Detection via veraPDF 1.30.4): Changing foreground/background ink colors alters visual brand design, so Lekt never silently repaints your PDF. Instead, Lekt's free offline WCAG 2.2 checker flags every low-contrast text chunk with its measured contrastRatio and exact page badge so designers can darken colors in Word, InDesign, or Canva before final PDF export.
  1. Run Lekt's free WCAG 2.2 checker to identify all low-contrast text chunks with their `contrastRatio` and page location.
  2. Lekt does not auto-fix this issue, as it requires manual design changes in the source document. Review the flagged text in the source document (Word, InDesign, etc.) and adjust colors to meet the required contrast ratio.
  3. Re-export the document to PDF and re-run Lekt to confirm compliance.

Frequently Asked Questions

Can Lekt automatically fix this contrast issue?

No, Lekt detects and reports the exact contrast ratio and page location but does not auto-change colors, as this would alter the visual design. Manual adjustment in the source document is required.

What is the difference between large-scale and normal text in WCAG 2.2?

Large-scale text is defined as at least 18pt or 14pt with bold weight. It requires a minimum contrast ratio of 3:1, whereas normal text requires 4.5:1.

How is the contrast ratio calculated?

The contrast ratio is calculated based on the relative luminance values of the foreground and background colors. The formula is (L1 + 0.05) / (L2 + 0.05), where L1 is the luminance of the lighter color and L2 is the luminance of the darker color.

Check & Verify WCAG_2_2:1.4.3-1 100% Offline

Run unlimited PDF/UA-1, PDF/UA-2, and WCAG 2.2 checks locally on macOS Apple Silicon or Windows x64 via embedded veraPDF 1.30.4 — zero FERPA/HIPAA cloud uploads, plus Free Watermarked Proof PDF export to verify 0 errors in PAC 2024 before paying.

Related PDF/UA & WCAG Error Guides