Remediation how-to
Scanned PDF accessibility: what OCR does, and what it does not
OCR adds a searchable text layer over the image of a scanned page, and that is the only layer it adds: it does not create tags, reading order, headings, table relationships, alt text, form labels or document language. This guide covers what a scan needs before it can pass a screen-reader test, and how to choose between rescanning, OCR plus structural repair, rebuilding from source, or publishing an accessible transcript alongside the scan.
Why a scanned PDF fails assistive technology
A scanned PDF fails because the page is a picture of text, not text. The image may be sharp enough to read on screen, but there are no characters for a screen reader to extract, no words for search to match and nothing to select, resize or reflow. The W3C's OCR technique puts it directly: a document made of scanned images of text is inherently inaccessible because the content is images, not searchable text, and assistive technology cannot read the words (WCAG technique PDF7 on OCR).
The failure has three parts, and each one needs a separate fix:
- No text layer. A screen reader has nothing to announce.
- No structure. Even after OCR, characters without a tag tree have no headings to jump between, no list boundaries, no table cells and no figure descriptions.
- No metadata or relationships. The document has no announced title or language, and table header cells are not associated with the values beneath them.
An OCR tool can close the first gap. It cannot close the other two, which is why "we ran OCR" is not the same as "the scan is accessible".
What OCR actually produces
OCR turns the image of each page into character codes placed where the recognizer found them, and writes those characters into the PDF, usually as invisible text behind the page image. The visible page does not change. Search, selection and copy improve, and a screen reader can finally reach the words; OCR gives nothing more.
| Layer | Raw scan | After OCR |
|---|---|---|
| Page image | The picture of the page | Unchanged |
| Text | None | Recognized characters with positions, searchable and selectable |
| Structure tree | None | Usually still none, or a heuristic set of tags that needs review |
| Alt text | None | None; a person still has to write it or mark the image as decorative |
| Table relationships | None | None; OCR does not associate header cells with data cells |
| Document metadata | Often empty or inherited from the scanner | Sometimes filled with a file name; title and language still need checking |
Some tools add tags automatically when they run OCR, and Acrobat's own technique notes that this can happen. Treat those tags as a first draft: they come from layout guesses, not from knowledge of the document's meaning, and they still need the review described below. If you OCR a file twice, replace the earlier text layer rather than stacking a second one on top, because duplicate hidden text can make a screen reader announce a passage twice.
Accuracy, confidence and proofing
No single OCR accuracy number makes a document acceptable, because the answer depends on what the document is used for. A meeting packet can tolerate an occasional wrong character in prose; a permit application, a payment notice or an eligibility form cannot tolerate a wrong date, amount or name. Judge the text layer against the decisions the document supports, not a vendor percentage.
Most OCR engines report confidence or flag suspect characters. Confidence is a triage aid: it tells you where to look first, not whether the page is correct. A confident misread of a faded digit is still a misread.
Proof in this order:
- Read the converted text for the first page, a dense table page and a page with a stamp or signature.
- Search for the data that matters: dates, dollar amounts, case numbers, addresses and names.
- Compare the text with the page image, because the scan is what the reader receives.
- Correct recognized suspects, record which pages were checked and keep the original image so a later reviewer can see what changed.
Proofing is also where you discover that the scan, not the OCR, is the problem. Repeated errors at page edges, in shaded cells or down one column usually point to skew, cropping or low contrast. WCAG treats images of text as a failure unless the visual presentation is essential (success criterion 1.4.5), so the text has to be real and correct, not merely present (Understanding WCAG 2.1).
Adding structure after OCR
Structure is a second project that starts when OCR ends. The characters need to be grouped into the roles a reader can navigate: headings at the right levels, paragraphs, list items, table rows and cells, figures with alt text, links and form fields. The page image should remain the visual layer, and page furniture such as running headers, footers and page numbers should be marked as artifacts so they are not read as content.
A workable order:
- Open the tag tree and confirm it exists. If OCR produced tags, audit them instead of trusting them.
- Review the reading order for multi-column pages, sidebars, captions and footnotes, then correct it in the structure tree.
- Mark headings and lists, and associate table header cells with their data cells.
- Write alt text for figures that carry meaning, and mark decorative images, rules and page furniture as artifacts.
- Label form fields and check the tab order if the scan contains a form.
- Set the document title, turn on the setting that displays it in the viewer, and set the language.
The full process is covered in the PDF remediation guide; PDF/UA defines the structure a conforming file must contain (PDF Association: PDF/UA in a Nutshell).
Common scan problems that survive OCR
OCR is a recognizer, so any problem in the image becomes a problem in the text. These patterns account for most of the failures that remain after a scan has a text layer:
- Skew and rotation. A page scanned at an angle misreads characters near the edges and breaks column order. Deskew before OCR or rescan.
- Faded or low-contrast text. Faint carbon copies, faxes and microfilm often produce confident but wrong words. Rescan or enhance the copy when errors are dense.
- Stamps and annotations over text. A received stamp lands on top of words and OCR may read a jumble. Transcribe the stamp or treat it as an image with alt text.
- Handwriting and signatures. Recognition of handwriting is not dependable enough to publish unverified. Transcribe the handwriting and describe signatures as part of the record.
- Two document pages on one image. The sheet, not the document, becomes the page. Split the image into separate pages before OCR and tag them in order.
- Page numbers and running headers. OCR turns them into body text read on every page. Mark them as artifacts and check printed page numbers against the viewer's page labels.
- Multi-column layouts and tables. Coordinates alone do not tell the engine which column comes next. Review the order with a screen reader instead of assuming it.
Repair, verify and record the result
Verification needs two different tests because they catch different failures. A PDF/UA checker validates the file's structure and metadata; a screen reader shows how the document is actually announced. A checker can confirm that a figure exists and has replacement text. It cannot tell you that the text is meaningful, that the reading order makes sense or that OCR recognized a name correctly.
Run this sequence before the document is published:
- Run a PDF/UA checker such as veraPDF or PAC 2024 and keep the report.
- Read the document with a screen reader, listening for headings, list items, table header cells, figure descriptions, link names and form labels, and stop when the order stops making sense.
- Search for known text and select a paragraph to confirm the text layer is real.
- Check the document title in the viewer window and the announced language.
- Zoom to 200% and confirm the content is still usable.
Record the result per document: the file and its source, OCR engine and version, language setting, pages proofed, corrections made, structure changes, checker report and screen-reader test. That record is the evidence for an accessibility request, an audit sample or a later review. The PDF accessibility audit guide describes how to turn those records into a program-level sample.
Rescan, rebuild or publish a transcript
Four realistic routes lead from an inaccessible scan, and the right one depends on why the scan fails and whether the source exists.
| Option | Use it when | What it does not solve |
|---|---|---|
| Rescan | The image is the limit: skew, crop, low resolution or faint text, and the paper is available. | It produces a clearer image, not structure; OCR and tagging still follow. |
| OCR plus structural repair | The scan is legible and the document must remain usable as a PDF. | It cannot recover content the scan never captured, such as handwriting. |
| Rebuild from source | The source file still exists or the document is still being authored. | It does not cover historical records with no source file, and it may change a layout that must be preserved. |
| Accessible transcript alongside | The archive is large, the scans are handwritten or image-heavy, or content must be usable while a longer project runs. | It does not make the PDF itself conform, and it cannot reproduce interactive form behavior. The PDF remains the record copy. |
A transcript is a legitimate option, not a way to declare the PDF conforming. GOV.UK's publishing guidance states that PDF and PDF/A cannot be made fully accessible to every assistive technology and that an accessible version should be published with the PDF when the PDF is kept (Publishing accessible documents). The trade-offs are covered in accessible PDF versus transcript, and the effort in each route is covered in PDF remediation cost.
What to record for each scan
Keep a short record with every scanned document you publish, even when the result looks clean. That record lets a second person answer a complaint or re-check a decision without repeating the work.
- The original file name, location, scan quality, any rescan and why it was needed.
- The OCR engine, version, language setting and the date it ran.
- The pages you proofed, the corrections you made and any text you could not verify.
- Structure changes: tags, reading order, artifacts, alt text, table headers and form labels.
- The document title and language you set, and whether the title is displayed in the viewer.
- The checker used, its version and the result, plus the screen reader and version you tested with.
- The fallback chosen for content that could not be recovered, such as a transcript or a description of a stamp.
Keep the record next to the published file and review it when the document or the tool changes. The PDF remediation guide covers born-digital documents, and the audit guide covers sampling records across an archive.
Primary sources and standards
- WCAG technique PDF7: Performing OCR on a scanned PDF document to provide actual text (W3C Web Accessibility Initiative, Techniques for WCAG 2.1)
- Understanding WCAG 2.1 (W3C Web Accessibility Initiative)
- Publishing accessible documents (GOV.UK)
- PDF/UA in a Nutshell (PDF Association)
- PDF Accessibility with Acrobat (WebAIM)
- Create Accessible Documents (U.S. General Services Administration, Section508.gov)
Frequently asked questions
Is a searchable PDF accessible?
No. Searchability means OCR added a text layer. It does not mean the document has tags, a correct reading order, headings, table header associations, alt text, form labels, a title or a language. A searchable scan usually passes a search test and still fails a screen-reader test.
What OCR accuracy is good enough?
No universal threshold exists. The answer depends on what the document is used for: prose can tolerate an occasional wrong character, while dates, amounts, names and case numbers cannot be wrong at all. Proof the fields that support decisions, correct flagged suspects and record which pages you checked instead of relying on a vendor accuracy claim.
Can OCR fix reading order?
No. OCR recognizes characters and records their positions on the page. Reading order comes from the PDF structure tree and the order in which content is presented to assistive technology. Some OCR tools guess at tags, but those guesses need review, especially for multi-column pages, sidebars, captions and tables.
What about handwritten records?
OCR recognition of handwriting is not dependable enough to publish unverified. Transcribe the handwriting by hand, describe signatures as part of the record, and keep the original scan image as the record copy. A published transcript can carry the content, but it does not make the scanned PDF itself conform.
Should we rescan or remediate the existing scan?
Check the image first. Rescan when the scan is skewed, cropped, low resolution or faint and the paper or a better copy is available. If the image is legible, keep it, proof the OCR, then add structure and verify. Rebuild from source when the source file exists, and consider a transcript when the content cannot be recovered reliably.
This guide is general information, not legal advice. Confirm your obligations with counsel and your accessibility office.