Lesson 7 of 9
What you will learn
- Why fixing the source file and exporting again is usually the best route to an accessible PDF.
- What tags are and why a PDF needs them.
- How to check the title, language, tags and reading order of a PDF.
- Why scanned pages and "print to PDF" usually cause problems.
- When to ask a specialist for help.
Start with the source
A PDF is a finished copy of a document. It looks the same on every device, which is why people like it. But looks are only half the story. A person who uses a screen reader needs to know what each part of the page is: a heading, a list, a table, a picture. That information lives inside the PDF in a hidden layer.
Most accessibility problems in a PDF began in the file it was made from. If the Word file used fake headings, the PDF will too. If the PowerPoint slide had no alt text on a picture, the PDF will have none either.
So the best habit is simple. Fix the problem in the source file. Then export again. This is usually faster than repairing the PDF by hand. Repairs made inside a PDF are lost the next time you export from the source.
Lessons 4 and 5 showed you how to export from Word and PowerPoint. Spreadsheets often export awkwardly, so ask whether a PDF is the right format at all (see Lesson 6).
What tags are
A tagged PDF has a hidden structure behind the visible page. The tags label each piece of content. One block is a heading. Another is a paragraph. Another is a list item or a table cell. A screen reader uses these tags to announce content properly and to let people jump from heading to heading.
Tags also set the reading order. This is the order in which assistive technology reads the content. It can differ from the visual order, and in a poorly built PDF it often does. A two-column page might be read straight across both columns, mixing the sentences together.
An untagged PDF has no such labels. A screen reader may read it in a strange order, or may not be able to read it at all. Tags are not the only requirement, but without them most of the other work cannot help.
Other basics every PDF needs
Besides tags, check these settings:
- Document title. The title should be set and should be shown in the window's title bar, not just the file name. In Acrobat, set Document Properties > Initial View > Show to Document Title. A name like "final_v3_scan" tells nobody anything.
- Language. The document language should be set, so a screen reader uses the right pronunciation. If parts are in another language, mark those parts when you can.
- Alternative text. Meaningful pictures need short descriptions. Decorative images should be marked so they are skipped.
- Real headings, lists and tables. These should be tagged as such, with table header cells marked.
- Bookmarks. For longer documents, bookmarks help everyone move around.
- Links. Link text should still make sense out of context.
- Forms. Every field needs a clear label and should work with the keyboard.
Word and PowerPoint usually carry the title and language into the PDF when you export, but this depends on the version and your settings. Always confirm in the finished PDF.
Scans and "print to PDF"
Two common routes make poor PDFs.
Print to PDF. Choosing a printer called "Print to PDF" (or a similar name) sends the page to a virtual printer. It draws the page. It does not pass along headings, lists or alt text. The result often has no tags at all. Use the program's Save as or Export command with the tagged-PDF option instead.
Scanned pages. A scanner takes a picture of paper. The PDF then holds an image of text, not real text. A screen reader sees only a picture. Such a page needs two things. First, optical character recognition, called OCR, which turns the picture of words into real text. Second, it still needs tags, a language, a title and alt text for any pictures. OCR alone does not give you headings, a reading order or table structure. It can also make mistakes, especially with handwriting, old print or poor scans, so a person must read the result against the original.
If you can still find the original Word file, use it. Re-exporting is nearly always better than fixing a scan. If you are about to scan something, ask first whether a digital copy already exists.
Checking a PDF
You can learn a lot with simple checks.
- Try to select text. Click and drag over a sentence. If nothing highlights, the page is probably an image.
- Look at the document properties. Check that the title and language are set.
- Look at the tags. Many PDF programs have a tags or structure panel. Check that headings, lists and tables appear in it. The exact menu names differ slightly between versions; if you cannot find it, use the program's Help search for "tags".
- Check the reading order. Use the program's reading-order or read-aloud feature, or a screen reader, to hear the order.
- Run an automated checker. Many PDF tools include one. You can also try our free PDF accessibility checker, the PDF title and language fixer, the PDF reading order viewer, and for forms the PDF form checker. For long files, the PDF bookmark generator may help.
Be careful with automated results. A checker can find many things, such as a missing language or an untagged file. It cannot judge whether alt text is useful, whether the reading order makes sense, or whether a heading is really a heading. A passing result does not prove a PDF is accessible. A person must check the rest. Lesson 8 shows how.
There is also a technical standard for accessible PDFs called PDF/UA. Specialists can test against it with a validator such as veraPDF. Most staff will not need this. It is useful to know it exists.
When to ask a specialist
Some jobs are beyond a quick fix. Ask your accessibility lead or a trained specialist when:
- A long document has only a scanned copy and no source.
- A PDF has complex tables, maps, math or many forms.
- The reading order is badly wrong and the source cannot be changed.
- The file will be widely published or is high risk.
Never promise that a PDF meets any law or policy because a tool said so. Your organisation's own policy sets the standard and who decides.
Try it
Pick a Word or PowerPoint file you have made. First, check its headings and alt text. Export it as a PDF using Save as or Export, with the tagged-PDF or "document structure tags" option turned on. Open the PDF. Try to select a sentence. Look up the title and language in the document properties. Then open the tags panel and see whether your headings appear. Write down one thing you would fix in the source.
Key points
- Fix the source file and export again; this is usually the best route.
- A tagged PDF labels headings, lists, tables and pictures so assistive technology can use them.
- Set the document title and language, and check the reading order.
- "Print to PDF" usually drops structure; use Save as or Export instead.
- A scanned page is a picture. It needs OCR and tags, and a person must proof the text.
- Checkers help but cannot prove accessibility; some checks need a person.
- Ask a specialist for scans, complex content and high-risk files.