PDF remediation 2: headings, lists, reading order, links and alt text
Training module 13 · 30 minutes · Last updated
Tag headings and lists correctly in a PDF, fix reading order and tab order, and repair links and alt text for figures including charts.
What you will learn
- How to tag headings and lists so they work as headings and lists.
- How to fix reading order and tell it apart from tab order.
- How to repair links so they are tagged and have clear names.
- How to add alt text to figures, including charts.
Build on the first pass
This lesson assumes you can open the tags panel and retype or move a tag. If not, review Open and read the Accessibility tags panel in Acrobat first. As before, if you have the source file, fixing headings, lists and alt text there is faster and lasts longer than repairing the PDF.
Headings and lists
A heading tag lets a screen reader user jump from section to section. Pick the level from the document's outline, not from how big the text looks. Use one Heading 1 for the title and work down without skipping a level. If you need help planning, see Plan a heading structure that does not skip levels. The Acrobat steps are in Tag headings in a PDF with Acrobat. Tag only text that names the section that follows. A bold line of body text is not a heading.
A list has more parts than it seems. The list tag holds list items, and each item holds a label (the bullet or number) and a body (the text). If each line is a loose paragraph with a typed bullet, a screen reader does not know it is a list at all. Tag a list correctly in a PDF with Acrobat shows how to rebuild one. For long lists, correcting the list style in the source and exporting again is usually quicker.
Reading order
Reading order is the sequence in which assistive technology reads the content. It should match the order a sighted person would read the page. Multi-column pages, sidebars, captions and footnotes are the usual trouble spots. See What reading order is and how to test it for the idea.
Acrobat gives you two ways to repair it.
- The Reading Order tool lets you draw a box around a block and say what it is, such as a paragraph, heading, figure or table. See Fix reading order with the Reading Order tool in Acrobat.
- The Order and Content panels list the page content in sequence, and you drag items into place. See Use the Order and Content panels in Acrobat. The Content panel is also where you find stuck or empty containers.
Fix order and type separately. Do not label a block as a heading just to move it. After reordering, check the tag tree again, because the two can disagree. The checker cannot judge reading order, so always test it yourself by stepping through the page.
Tab order
Tab order is a different thing. It is the order in which keyboard focus moves through links and form fields when someone presses the Tab key. Reading order is about what is read. Tab order is about where focus goes.
For accessibility, set the tab order to follow the document structure, on every page. See Set the tab order of a PDF to follow its structure in Acrobat. Because tab order follows structure, fix the reading order first. Otherwise the tab order simply copies a wrong sequence. Recheck after any later edit.
Links
A link must be tagged, and it must sit inside the text it belongs to. Links created with some tools come out untagged, so they never reach the structure. The dependable method is to select the text and create the link that way, then search for unmarked links to catch the rest. See Create and repair tagged links in Acrobat. Link text matters too. A link that says "here" tells a listener nothing, so use words that make sense out of context.
Alt text for figures
Every figure that carries meaning needs alt text. Acrobat steps through the figures one at a time, and you type a short description or mark the figure as decorative. See Add alt text to figures in a PDF with Acrobat. If you are unsure how to word it, read Write good alt text for an image.
Charts need more than one line. Write a sentence that states the main finding, and put the data in a table. See Describe a chart or graph: alt text plus a data table. When a chart is too complex even for that, follow Give a complex image a long description or accessible alternate.
The checker only tests that some alt text exists. It cannot tell whether the text is useful, so read a few figure descriptions aloud. Check contrast as well, since the checker leaves color contrast to a person. The target is in Check color contrast against WCAG AA (4.5:1 and 3:1).
Try it
Open a copy of a tagged PDF with at least one heading, one list and one image. Check that the heading and list tags are correct. Step through the first page with the Reading Order tool and compare its order to how you would read it. Then press Tab through the page and watch where focus goes. Add alt text to one figure and run the check.
Key points
- Choose heading levels from the outline, never from text size, and never skip a level.
- A real list has a list tag, item tags, and a label and body in each item.
- Reading order is the reading sequence. Tab order is the keyboard focus sequence. Fix them separately.
- Set the tab order to use document structure, on every page, after the reading order is right.
- Create links so they are tagged, and give them names that make sense alone.
- Charts need a finding in the alt text plus a table of the data.
- The checker cannot judge reading order or whether alt text is good, so a person must.
How-to guides in this module
- Tag headings in a PDF with Acrobat
- Create and repair tagged links in Acrobat
- Tag a list correctly in a PDF with Acrobat
- Use the Order and Content panels in Acrobat
- Fix reading order with the Reading Order tool in Acrobat
- Add alt text to figures in a PDF with Acrobat
- Set the tab order of a PDF to follow its structure in Acrobat