Skip to main content
Checkpoint 04High Priority1 failure condition

Checkpoint 04: Color and Contrast

Information conveyed through color, contrast, or visual formatting must also be available through properly tagged content.

Related WCAG:1.4.11.4.3

Checkpoint 04: Color and Contrast

When your PDF uses color, contrast, or visual formatting to convey information, that information must also be available through the document's tag structure so that users who cannot perceive these visual cues can still understand the content.

What This Means

Visual formatting often carries meaning. Consider these examples:

  • Red text indicates errors or warnings
  • Highlighted cells show selected items in a table
  • Color-coded charts distinguish between data series
  • Bold or colored headings show document hierarchy
  • Strikethrough text indicates deleted content

For sighted users, these visual cues communicate information instantly. But for users who are blind, have low vision, or have color blindness, this information may be invisible.

PDF accessibility requires that when visual formatting conveys meaning, that meaning must also be available through proper tagging, alternative text, or text content that explicitly states the information.

Why It Matters

Approximately 8% of men and 0.5% of women have some form of color vision deficiency. Additionally, people who are blind rely entirely on screen readers, which cannot perceive color or visual formatting.

When color or contrast is the only way to understand information:

  • Color-blind users cannot distinguish between items marked with certain color combinations
  • Blind users receive no indication of the information at all
  • Users with low vision may not perceive subtle contrast differences
  • High contrast mode users lose color-based information entirely

Beyond accessibility, relying solely on color is poor design practice. In printouts, projected presentations, or poor lighting conditions, color-based information may be lost for everyone.

Common Violations

The Matterhorn Protocol defines one failure condition for this checkpoint.

04-001: Information Conveyed by Color, Contrast, Format, or Layout Is Not Tagged

What's Wrong: Visual formatting is used to convey meaning, but the document structure does not capture that meaning. The information is visible but not accessible to assistive technology.

Common Examples:

Example 1: Color-coded status indicators

  • Visual: Cells in a spreadsheet are green (approved), yellow (pending), or red (rejected)
  • Problem: Screen readers only read the cell text, not the cell color
  • Solution: Add text like "Status: Approved" or tag cells with descriptive attributes

Example 2: Required form fields marked in red

  • Visual: Required field labels are shown in red
  • Problem: Screen readers do not announce that fields are required
  • Solution: Add "(required)" to the label text or use proper form field properties

Example 3: Current page highlighted in navigation

  • Visual: The current page is highlighted in a table of contents
  • Problem: Users cannot tell which page they are on from the tags alone
  • Solution: Add text like "(current page)" or appropriate tagging

Example 4: Charts using only color to distinguish data

  • Visual: A pie chart with different colored segments
  • Problem: Alternative text says "Chart showing sales data" without color details
  • Solution: Describe data in alt text or provide an accessible data table

How to Identify:

  • Review the document visually and note all places where color or formatting conveys meaning
  • Read the document with a screen reader and check if that meaning is announced
  • Ask: "If this were printed in black and white, would all information still be clear?"
  • Use color blindness simulators to see how the document appears to color-blind users

Note: This is a human-testable condition. Automated tools cannot determine whether visual formatting conveys meaning.

How to Fix in Adobe Acrobat

Adding Text Alternatives for Color-based Information

When color conveys meaning, add explicit text to communicate that information:

  1. Identify content where color indicates status, category, or other meaning
  2. Add text that explicitly states the information:
    • Instead of just a red circle, include text "Error" or "Not approved"
    • Instead of just highlighting, add "(selected)" or "(current)"
  3. Ensure this text is properly tagged and readable by screen readers

Improving Alternative Text for Charts

  1. Select the Figure tag for the chart in the Tags panel
  2. Right-click and select Properties
  3. In the Alternate Text field, describe the information the colors convey:
    • "Bar chart showing Q1 sales by region: North 45% (blue), South 30% (green), East 25% (orange)"
  4. For complex charts, provide a supplementary data table

Using Table Headers to Convey Information

When table cells use color to indicate categories:

  1. Ensure the table has proper header cells (TH tags)
  2. Add a column or use headers that explicitly state the category
  3. Consider adding scope attributes to headers

Example structure:

| Project | Status | Due Date |
| Alpha | Approved (green) | Jan 15 |
| Beta | Pending (yellow) | Jan 20 |
| Gamma | Rejected (red) | Jan 25 |

Adding Descriptive Tags

For formatted content like strikethrough or highlighted text:

  1. Ensure the text is properly tagged
  2. Add actual text or attributes that describe the formatting meaning
  3. Consider using the Span tag with expansion text for abbreviations or special formatting

How to Fix in Microsoft Word

Addressing color and contrast issues in Word before creating your PDF is the most effective approach.

Adding Text Labels for Color-coded Information

  1. Wherever color indicates meaning, add explicit text:
    • Status columns in tables should include text like "Approved" not just color
    • Required fields should include "(required)" in the label
    • Error messages should include "Error:" as text, not just red formatting

Creating Accessible Charts

  1. Click on the chart to select it
  2. Right-click and choose Edit Alt Text
  3. Write a description that includes the data represented by colors:
    • "Pie chart showing market share: Company A 40%, Company B 35%, Company C 25%"
  4. For complex charts, insert an accessible data table below the chart

Using Styles Instead of Just Formatting

  1. Instead of manually making text red and bold for warnings:

    • Create a character style called "Warning"
    • Apply the style to warning text
    • The style name can indicate purpose even if color is not visible
  2. For deleted text:

    • Use Track Changes feature, which creates accessible revision marks
    • Or add explicit text like "[DELETED:]" before strikethrough content

Adding Patterns to Charts

In Excel/Word charts:

  1. Click on a data series
  2. Go to Format Data Series
  3. Add patterns or textures in addition to colors
  4. This helps color-blind users distinguish data series

Checking Contrast

While this checkpoint focuses on color as information carrier rather than color contrast, adequate contrast is also important.

Text Contrast Requirements

  • Normal text: 4.5:1 contrast ratio minimum
  • Large text (18pt+ or 14pt+ bold): 3:1 contrast ratio minimum
  • Non-text elements: 3:1 contrast ratio minimum

Testing Contrast

  1. Use the Color Contrast Analyzer tool (free from TPGi)
  2. Test foreground text against background colors
  3. Test important graphic elements against their backgrounds

Fixing Low Contrast

  1. Darken text colors or lighten backgrounds
  2. Avoid light gray text on white backgrounds
  3. Be cautious with colored backgrounds behind text
  4. Test with high contrast mode enabled

Testing Your Fix

Visual Review

  1. Print the document in black and white
  2. Check if all information is still understandable
  3. Use a color blindness simulator:

Screen Reader Testing

  1. Open the PDF with a screen reader
  2. Navigate through the entire document
  3. For each place where color conveys meaning:
    • Is the information announced?
    • Is it clear without seeing the color?

Contrast Testing

  1. Use the Color Contrast Analyzer on all text
  2. Verify 4.5:1 minimum ratio for normal text
  3. Verify 3:1 minimum for large text and graphics

Validation Checklist

  • All color-coded information has text alternatives
  • Charts include data in alt text or accessible tables
  • Status indicators include text, not just color
  • Required form fields are identified in text, not just color
  • Strikethrough or highlighted text has accessible alternatives
  • Text meets minimum contrast requirements
  • Document is understandable in black and white

Examples of Fixes

Before and After: Status Table

Inaccessible:

TaskPriority
Task A[red cell]
Task B[yellow cell]
Task C[green cell]

Screen reader hears: "Task A [blank]. Task B [blank]. Task C [blank]."

Accessible:

TaskPriority
Task AHigh (urgent)
Task BMedium (standard)
Task CLow (when possible)

Screen reader hears: "Task A, High (urgent). Task B, Medium (standard). Task C, Low (when possible)."

Before and After: Form Field

Inaccessible:

  • Name: [field in red] (color indicates required)

Screen reader hears: "Name, text field."

Accessible:

  • Name (required): [field]

Screen reader hears: "Name (required), text field, required."

Before and After: Chart

Inaccessible Alt Text: "Pie chart showing data distribution"

Accessible Alt Text: "Pie chart showing 2024 budget allocation: Personnel 45%, Equipment 30%, Training 15%, Other 10%"

Additional Resources

Official Standards and Guidelines

Testing Tools

Design Guidance


This documentation is based on the Matterhorn Protocol 1.02, the definitive reference for PDF/UA validation. For the most current information, consult the PDF Association and W3C WCAG guidelines.

Scan Your PDFs for Accessibility Issues

Beacon automatically detects PDF accessibility violations and shows you exactly how to fix them.

Start Free Scan