Skip to main content

PDF remediation 3: tables, scans, form fields and finishing

Training module 14 · 25 minutes · Last updated

Mark table headers, make a scanned PDF readable, label form fields and finish a PDF with bookmarks, safe security settings and a contrast check.

What you will learn

  • How to mark table headers, and when a complex table should be rebuilt instead of repaired.
  • How to turn a scanned PDF into real text and check the result.
  • How to give every form field a name that a screen reader can speak.
  • How to finish a file with bookmarks, safe security settings and a contrast check made outside Acrobat.

Tables: headers first, then simplify

A table is only useful to a listener if each data cell is linked to its headers. A header cell labels a row or a column. A data cell holds the information. The link between them is what lets a screen reader say "Population, Oregon" as the person moves through the grid.

In a PDF, Acrobat does not know which cells are headers unless a tag says so. Auto-tagging often guesses wrong. The fix is to open the Table Editor and set each header cell's type and its scope. Scope says which way the header points: down a column, along a row, or both. Follow Mark table header cells and scope with the Table Editor in Acrobat and work through every header cell, not just the top row. A table where the first column also names each row needs that column marked too.

Before you spend an hour on a table, ask whether it should be this complicated. A table with merged cells or two layers of headers can be tagged, but the work is slow and easy to get wrong. If you have the source file, the better fix is usually to split it into two or three plain tables and export again. The choice rules are in Decide when to use a table and how to keep it simple. When you cannot change the source, use Tag merged cells and complex tables in Acrobat. It shows how to record row and column spans and, for layered headers, how to link a data cell to every header that applies.

Whichever route you take, test the table by listening to it. The checker can tell you that headers exist. It cannot tell you that they are the right ones.

Scans: text first, then structure

A scanned page is a photograph of text. It has no words in it, so a screen reader has nothing to read. Why a scanned or photographed document has no tags explains why the file also has no headings or reading order, and Why a scanned document is not accessible, and what to do covers the wider choices, including whether to replace the scan with a clean source.

When you do have to repair the scan, the order matters. First run OCR, which stands for optical character recognition. It reads the picture and adds a hidden text layer. Follow Make a scanned PDF readable with OCR in Acrobat, and choose the correct document language before you start, because the wrong language produces many misread words. Next, review the words Acrobat marks as doubtful. Numbers, names and small print are where OCR slips most.

OCR gives you text, not structure. After it finishes, the file still needs tags. Run Auto-tag an untagged PDF in Acrobat, then open the tags panel (Open and read the Accessibility tags panel in Acrobat) and check headings, reading order and images by hand. A poor scan is worth rescanning. Crooked, faint or low-resolution pages cause errors that no setting fixes.

Form fields need names

A form field is a box where a person types or chooses something. A sighted reader sees the printed question next to it. A screen reader user hears only the field's own name. In a PDF that name is the tooltip. If you leave the default, they hear something like "Text Field 3", which tells them nothing.

Write a short label that says what belongs in the field, and add the format when it matters, such as "Date of birth, day month year". For radio buttons, which are groups of choices where only one can be picked, put the shared question in each tooltip and add the choice. The steps are in Label PDF form fields with tooltips in Acrobat.

Finish the file

Three checks remain once the content is fixed.

Bookmarks. In a long PDF, bookmarks give people an outline they can jump through. They are built from headings, so make sure the headings are tagged first. Then use Add bookmarks to a long PDF with Acrobat. Keep the outline to main headings, rename any machine-made names, and update it whenever pages change.

Security. You may need to restrict a file. If so, keep text access for screen readers switched on, because some restrictions turn it off and the file goes silent for the people who need it. Better still, avoid restrictions you do not truly need. See Secure a PDF without blocking screen readers in Acrobat. Apply security last and check the setting again afterward.

Contrast. Acrobat cannot measure color contrast. It marks the item as needing a manual check and leaves the decision to you. Measure the colors with a separate tool against the WCAG AA minimums, which are 4.5 to 1 for normal text and 3 to 1 for large text. See Check color contrast in a PDF (Acrobat cannot measure it) and Check color contrast against WCAG AA (4.5:1 and 3:1). If a pair fails, fix the color in the source file and export again.

Try it

Pick one PDF of your own that has a table and, if you can find one, a scanned page. Open the table in the Table Editor and check that every header cell has a type and a scope. Then listen to the table with a screen reader and note whether each data cell announces its headers. For the scan, run OCR and then try to select a line of text with your cursor.

Key points

  • Mark every header cell and its scope in the Table Editor, not just the top row.
  • Splitting a complex table in the source file is often better than repairing it in the PDF.
  • OCR makes text but not structure, so tag the file and check reading order afterward.
  • A form field's tooltip is its name for a screen reader, so write a real label for each one.
  • Add bookmarks only after headings are tagged, and keep text access for screen readers on.
  • Acrobat cannot measure contrast. Measure it elsewhere and fix it in the source.

How-to guides in this module