Skip to main content
WCAGrules
Quick navigation

Format plain-text lists with standard conventions

In plain text a list is a list because its labels say so. Every unordered item starts with the same character, an asterisk or a hyphen or a bullet, and every ordered item carries a number or a letter followed by a period or a closing bracket. W3C lists T2 as sufficient for 1.3.1 Info and Relationships in the available-in-text form. Three rules make or break it. Labels ascend, so numbers run in numeric order and letters in alphabetical order, or in numeric order where they are Roman numerals. Nothing else in the list starts a line the way a list item does. And a list item is itself a paragraph, which chains this straight back to T1's blank-line rules. One hard limit sits at the top of W3C's page. Nested lists cannot be represented this way at all, so a hierarchy needs a format that has markup.

How we find it in an audit

Plain-text files rarely ship as content, so this comes up occasionally rather than routinely. When it does we look for mixed markers, numbering that restarts or skips, and lists that are only lists because somebody indented them.

How affected users experience it

There is no list markup to announce, so the characters carry the whole of the structure. A consistent marker lets a listener register asterisk as next item, and sequential numbers tell them how far through they are. Mixed markers and skipped numbers take both away, and the list collapses back into lines with no count and no boundaries.

Passes vs. fails

Passes: headings exist in the code. Fails: one flat wall of text.

Passes

1. Unplug the router.
2. Wait 10 seconds.
3. Reconnect the power.

Fails

One item starts with 1., the next with 2), and the third with a hyphen.

How this gets tested

The W3C publishes test rules that define what a checker looks for here.

Other ways to satisfy this rule

52 guides on this site are filed under 1.3.1 Info and Relationships. W3C lists this one as sufficient for that rule when used for making information and relationships conveyed through presentation programmatically determinable or available in text, so the condition is part of the test rather than a footnote to it.

This guide is our interpretation of W3C technique T2: Using standard text formatting conventions for lists. W3C publishes its techniques as guidance rather than as the standard, and says so on every one of them. The success criterion is what conformance is measured against, and a technique is one documented way to meet it.

Go somewhere useful

Find tools, resources and your workspace.

29 destinations