Matterhorn Checkpoint 08: OCR validation
Text recognised from a scan must be accurate and tagged, because a screen reader reads the OCR layer, not the picture of the page.
Failure conditions
| ID | What fails | ISO 14289-1 | Test |
|---|---|---|---|
08-001 | A page is an image of text with no text layer (a scan that wasn't run through OCR). | 7.1 | Machine-testable |
08-002 | OCR-generated text contains significant recognition errors. | 7.1 | Needs a person |
08-003 | OCR-generated text isn't tagged to match the page's structure. | 7.1 | Needs a person |
Conditions summarised from the Matterhorn Protocol 1.1 (PDF Association). Our checker doesn't decide any condition in this checkpoint automatically.
How to fix it
In Word
- Avoid scanning: export from the original file when you have it.
- If you only have paper, retype or OCR into Word and correct it, then export.
- Re-check.
In InDesign
- Replace scanned pages with live text where possible.
- Place scanned images only as figures with alt text.
- Re-export.
In Acrobat
- Run Scan & OCR › Recognize Text.
- Correct suspects with Recognize Text › Correct Recognized Text.
- Autotag, then fix the tags by hand.
How to verify it
A person compares the OCR text with the page image, line by line on a sample, and checks the tags follow the page structure.
Check your PDF against PDF/UA-1.
Check your PDF →What automated checking can't decide here
Related checkpoints
- Matterhorn 01: Real content tagged
- Matterhorn 10: Character mappings
- Matterhorn 09: Appropriate tags
- All 31 PDF/UA checkpoints
Our methodology explains how results are produced.