Sub topic 13
Making structure work for assistive technology
This chapter assumes you can write simple Markdown or use word-processor styles, and that you know why headings, lists, and tables help sighted readers skim. Here you will see why the same structure matters for people who use screen readers and other assistive technology, and what breaks it.
How assistive technology reads structure
A screen reader is software that reads a page aloud or sends it to a braille display. It does not see bold text or large fonts. It reads the markup underneath, and that markup tells it what each piece of content is.
Users rely on that markup to move around:
- Headings: a user can pull up a list of all headings, or jump from one heading to the next, much as a sighted reader scans the page.
- Lists: the reader announces "list, 3 items", so the user knows how much is coming and can skip it.
- Tables: the reader announces the row and column count. As the user moves between cells, it reads the column header with each value.
This works only if the structure is real. Text that looks like a heading but is only bold is read as ordinary text, and it never appears in the heading list.
Headings: keep levels in order
Screen reader users often move by heading level, so the levels must describe the real outline.
- Use one level 1 heading, the document title.
- Do not skip levels. A
###directly under a#leaves a gap that suggests missing content. - Choose a level for its position in the outline, not for its size. If you want smaller text, change the style, not the level.
Lists and tables: use the real element
A line that starts with a typed dash or number followed by spaces looks like a list, but the reader will not announce it as one. Use your tool's list feature. In Markdown, the - and 1. prefixes produce real lists.
For tables, keep the structure simple:
- Give every column a header in the first row.
- Avoid merged cells and empty cells, which make cell-by-cell navigation confusing.
- Never use a table to position content side by side. A reader will announce a table of data that is not data.
The first example below fakes structure. The second uses real markup.
**Install steps**
1) Download the file
2) Run the installer
## Install steps
1. Download the file.
2. Run the installer.In the first version, the bold line is not a heading, and the numbers are plain characters. In the second, the heading appears in the heading list and the steps form a counted list.
Common errors
| Error | Effect | Fix |
|---|---|---|
| Bold text used as a heading | Missing from the heading list | Apply a real heading level |
| Skipped heading levels | Outline looks incomplete | Step down one level at a time |
| Typed bullets or numbers | No list announcement | Use list formatting |
| Table used for layout | Confusing cell announcements | Use plain paragraphs or columns in styles |
| Merged or blank cells | Lost header association | Repeat the value or restructure |
Quick check
Open the document outline in your editor. Read only the headings. If they tell the story of the document in order, the structure is working for both sighted and non-sighted readers.
Exercise
A colleague formats section titles as bold 16-point text and types "•" at the start of each list line. Name two problems this causes for a screen reader user, and give the fix for each.
Show answer
First, the bold titles are not real headings, so they do not appear in the heading list and the user cannot jump between sections. Fix: apply a real heading style at the correct level. Second, the typed "•" characters are plain text, so the reader does not announce a list or its item count. Fix: use the tool's bulleted list feature (in Markdown, a "- " prefix).