Hamel Husain and Isaac Flath examine DataLab’s accessible-PDF pipeline and explain why plain OCR output is inadequate for screen readers—and often for downstream AI systems too.
What accessibility requires
- A reader using a screen reader, Braille display, or reflowed text needs the same context, sequence, and navigation available to a sighted reader.
- PDFs often expose no text layer, a broken one, or text in the wrong order across columns, tables, and page breaks.
- Visual cues such as headings, indentation, lists, captions, and page furniture carry structure that a flat text dump loses.
Structure, not just characters
- The pipeline identifies headings, paragraphs, lists, formulas, figures, form fields, and the intended reading order.
- Figures are cropped and described; equations are represented structurally so assistive software can handle them differently from prose.
- A screen reader can announce content types instead of reading a math expression as disconnected symbols.
- The same structured output can help an LLM distinguish a table, footer, list, or formula instead of receiving one garbled string.
Why the economics matter
- Manually remediating a complex PDF can cost more than $100 because someone must reconstruct its semantics and reading order.
- DataLab says its API reduces that first pass to pennies, but it does not claim automatic 100% compliance.
- A Utah educator producing accessible STEM materials reportedly reduced work from hours to minutes.
- High-stakes accessibility still needs human review; automation changes the amount of labor rather than eliminating responsibility.
The broader lesson for document AI
- OCR quality is not only character accuracy—the output must preserve how the document is meant to be understood.
- Different downstream uses may need different formats, including tagged structure, HTML, JSON, or LaTeX-like math.
- Models are effectively “blind” when document-processing pipelines throw away layout and semantics before inference.
“Just getting text and jamming it all together loses a lot of that structure.” — Isaac Flath