PDFs on your website: the overlooked third
AccessibilityAlmost every business website hands out PDFs.
9 min read
By Timo Wessels Published
Almost every business website distributes PDFs: price lists, data sheets, registration forms, menus, maintenance contracts, annual reports. They stand as a download link on the page, and in the discussion about accessibility they hardly ever appear.
Yet the same holds for them as for the website: a PDF that a screen reader cannot read aloud does not exist for part of your customers. A screen reader is a program that reads the content aloud. In my experience the share of inaccessible PDFs is clearly higher than that of inaccessible web pages, because nobody ever looks at PDFs.
The most important points first:
- Where possible use a web page instead of a PDF.
- An accessible PDF is made in the source document, not afterwards.
- Check every PDF: is it “tagged”, and can the text be searched?
The first question: does it have to be a PDF at all?
My rule of thumb: where possible, HTML instead of PDF. A normal web page is more accessible, easier to find, readable on the phone and can be maintained without producing a document anew every time.
What speaks against PDF on a website (Rheinwerk, Barrierefreie Webseiten, ch. 11.1):
- It is a dead end. Whoever has landed in the PDF gets further only with difficulty. An A4 layout on the phone stays an A4 layout.
- It does not show up in the statistics. Usual analysis tools cannot follow what happens in the PDF.
- It is rarely updated. The change has to be made in the source document, exported again and uploaded again. That is why many websites carry PDFs with the prices of the day before yesterday.
What PDF is right for: documents that must look exactly the same everywhere, documents that are meant to stay unchanged (invoices, signed contracts, certificates), and anything for printing.
The menu, the service overview and the directions belong on a page. The maintenance contract may be a PDF.
What makes a PDF accessible: tags
A PDF is at first only an arrangement of characters on a surface. That a line stands at the top and is larger does not make it a heading. It is only larger.
The meaning comes through tags. These are structure statements in the document that play the same role as HTML elements on a web page: this line is a heading, this block a paragraph, this a list, this a table with a header row. Microsoft describes it like this: with these tags, people who use a screen reader can read a document and find their way around it, with table of contents, links, bookmarks and alt text.
The quickest test: open the PDF, go to the document properties and look for the entry “Tagged PDF”. If it says No, the document is not accessible. Everything else then pauses for the moment.
The second quickest test: search the PDF for a word you see on the page. If “No matches” comes back, the text is not text but an image: a scan or a text area placed as a graphic. For a screen reader the document is then empty. That happens often with scanned forms and old brochures (Rheinwerk, ch. 11.2 and 11.4).
The standard behind it
What the WCAG are for web content, PDF/UA is for PDF documents, recorded in the standard ISO 14289 (Rheinwerk, ch. 11.1). The WCAG are the international guidelines for accessible websites. The checking tool PAC, which I come to below, checks according to its own page many requirements of PDF/UA and WCAG at the touch of a button and also supports the necessary visual check.
How an accessible PDF is made
The most important sentence first: it is made in the source document and not afterwards.
Microsoft advises: the fastest and easiest way to an accessible PDF is to run the Accessibility Checker in Word before saving as a PDF. From the information cleaned up there, Microsoft 365 creates the tags in the PDF. Repairing an unstructured PDF afterwards is laborious. That is my experience.
What this concretely means for work in Word:
Use styles, do not format. You set a heading with the style “Heading 1”, not by making the text bold and larger. Microsoft advises the same: use the built-in title and heading styles so that screen readers can recognise a logical order. As on the web: do not skip a level.
No empty paragraphs. You set a page break with Ctrl+Enter, not by pressing Enter fifteen times. A screen reader reads empty paragraphs aloud as “blank, blank, blank”. The listener may assume in the worst case that the document is over. Microsoft advises controlling the space between paragraphs through the paragraph settings.
Nothing important in the header and footer. Microsoft writes: screen readers do not scan headers and footers, so important information there is lost.
Alt text on images, kept short. Mark decorative images as decorative in Word.
Meaningful link texts. Not “more”, not the bare address. Word automatically turns typed addresses into links, and a screen reader then reads the whole address out character by character. With right-click, Edit link, you change the displayed text.
Tables with a header row. Microsoft advises avoiding tables where possible and, where needed, building them simply: for data only, with no merged or split cells and no nested tables, with a defined header row. Screen readers find their way in a table by counting cells. Merged cells confuse that. No tables for layout: an address does not belong in a table just so that it stands tidily one below the other.
Set document title and document language. The screen reader announces the title first. A document titled “Document1” is a missed chance, also for findability.
Colour not as the only means. The same principle as on the web. A good test: would the information survive a black-and-white printout?
Run the built-in check. Word has an accessibility check. It lists the main points and helps with fixing them.
The export: this is where it most often breaks
This is the point where months of clean work are lost in a second.
When saving as PDF from Word there is “More options” in the dialog. Microsoft writes: make sure the checkbox “Document structure tags for accessibility” is selected. Without these tags the PDF is not readable for screen readers.
In my experience there is one trap: if you choose the setting “Minimum size (publishing online)”, the tags are missing in the result. The name sounds harmless and is therefore chosen when someone wants to keep the file small. Whoever chooses “minimum size” can lose everything they built before. After every export check with the “Tagged PDF” test.
How to check a PDF
PAC, the PDF Accessibility Checker. A free tool, funded by the German Federal Ministry of Labour and in use since 2010. According to its page it checks many requirements of PDF/UA and WCAG at the touch of a button. It also has a screen reader preview that shows what a screen reader makes of the document. That is the most revealing view, because you see at once whether the order is right. PAC repairs nothing, though. You correct in the source document or in Adobe Acrobat Pro.
Adobe Acrobat Pro has its own check and can, among other things, change the reading order without touching the look (Rheinwerk, ch. 11.4).
What no machine can check: whether an alt text makes sense, whether the reading order matches what was meant, whether a table has the right tags. A green result is no proof of an accessible document. That holds as with web pages.
Two side topics with practical consequences
Protection and screen readers. PDFs can be protected: block printing, block copying, encrypt. Important: text access for screen readers must stay allowed. If it is blocked along with the rest, the document is inaccessible to blind users, however cleanly it is marked up (Rheinwerk, ch. 11.4). That is a single setting that is gladly switched off by accident.
Scanned documents. A scan is an image. Only text recognition turns it into text. Afterwards the recognition should be checked, because text recognition makes errors, and a screen reader reads them out without anyone noticing. With forms and documents with numbers that is a real problem.
What you can do
Take stock. How many PDFs lie on your website? For most clients the answer is clearly higher than estimated, because it accumulates over the years.
Sort them into three piles (my practice):
- Can go. Outdated price lists, brochures from 2019, forms nobody needs any more. The cheapest progress in this field.
- Belongs on a page. Everything that is really web content: service overviews, directions, menus, opening hours. This switch improves accessibility, findability and phone use in one go.
- Stays a PDF. Contracts, certificates, forms for printing, anything with a signature.
Check the third pile with PAC. For each document first: is it tagged? Is the text searchable?
Repair in the source document. If you still have the Word file, the way is clear: set styles, add alt texts, define the table header, export correctly. If you no longer have it, recreating is often faster than repairing.
And for the future: if your business publishes documents regularly, the Word template is the lever. A template set up cleanly once, with defined heading levels, makes sure every future document brings the structure with it. That is an hour’s work and then done for ever.
Sources
- Microsoft Support, Create accessible PDFs — tags in the PDF for screen readers, first run the Accessibility Checker, the option “Document structure tags for accessibility”: support.microsoft.com(external site: support.microsoft.com)
- Microsoft Support, Make your Word documents accessible to people with disabilities — built-in heading styles, alt text, avoid tables or keep them simple and set a header row, headers and footers are not read, spacing through paragraph settings: support.microsoft.com(external site: support.microsoft.com)
- PDF Accessibility Checker (PAC), project page — free checking tool for PDF/UA and WCAG with a visual check: pac.pdf-accessibility.org(external site: pac.pdf-accessibility.org)
- Rheinwerk, Barrierefreie Webseiten, ch. 11.1 to 11.4 — the drawbacks of PDF, the rule of thumb HTML before PDF, PDF/UA as ISO 14289, PDF tags, the “Tagged PDF” test, the search test, Adobe Acrobat Pro, protection and screen readers.
- Own testing practice — the three-pile sorting, the “Minimum size” trap on export, checking text recognition, recreating instead of repairing, the Word template as a lever.