Skip to content
PDF Accessibility

DefinitionUpdated 2026-12-03

ActualText

A precise text replacement for content whose visible form does not read correctly.

What is ActualText in a PDF?

ActualText is an attribute on a structure element or marked-content sequence that says, in effect, the content here should be read as this exact text. Unlike alt text, which describes something, ActualText substitutes for it word for word. It is used for decorative letters, ligatures, text converted to outlines and similar cases.

ActualText versus alt text

Alt text describes non-text content, such as a photograph or chart, in words. ActualText replaces content with the characters it stands for. If a heading's first letter is a large ornamental graphic, ActualText of "W" lets the word read as "Welcome" rather than "graphic, elcome".

Screen readers, text search and copy-and-paste can all use ActualText, so it fixes more than the spoken output.

When to use ActualText

  • Decorative drop caps and initial letters drawn as images.
  • Text that a design tool converted to vector outlines.
  • Hyphenated words split across lines, where the hyphen is not part of the word.
  • Symbols or glyphs whose font lacks a correct Unicode mapping.
  • Images of short text, such as a scanned signature line that reads "Approved".

Limits and related fixes

ActualText is a patch, not a substitute for real text. When a whole document is images of text, OCR is the right fix; when fonts lack Unicode mappings throughout, the source file or font embedding should be fixed. Overusing ActualText makes a file harder to maintain.

Our checker flags text that cannot be mapped to Unicode, a common reason ActualText is needed, and the fixer can apply it where the intended characters are clear. Ambiguous cases are left for review.

Sources

This page is general information, not legal advice. Automated checks cannot prove full compliance; some requirements need human review.

Frequently asked questions

Does ActualText show on the page?

No. It is stored in the file and used by assistive technology, search and copy. The visible page is unchanged.

Can I use ActualText instead of OCR?

For a word or two, yes. For whole pages of scanned text, use OCR, which creates a proper text layer that can then be tagged.

Which standard defines ActualText?

It is defined in the PDF specification (ISO 32000), and PDF/UA relies on it for content that cannot otherwise be mapped to correct text.