Skip to main content
WCAGrules
Quick navigation

State in text what styling alone conveys

Sometimes a change in how text looks is doing a job. Bold marks the required courses. Italics mark the discontinued products, a different face marks the quoted passage. G117 says that whenever a variation in presentation carries information, the same information has to be available in text as well, either in the sentence or somewhere the reader will reach it. W3C lists this as sufficient for 1.3.1 Info and Relationships at Level A, with no conditions, so on its own it settles the rule for the content it covers. The failing version has its own entry in W3C's records. It is filed as a way of breaking 1.3.1 by using a change in text presentation to carry information with neither the markup nor the words to back it up.

How we find it in an audit

A scan cannot tell decorative bold from meaningful bold, so our reviewers read for it. The tell is usually a legend explaining what the styling means. The fix is to move that meaning into the item itself. Tables and catalogs are where this hides. So are schedules and price lists.

How affected users experience it

Most screen readers do not announce bold, italics or a change of font by default. The users who can switch that on mostly do not, because on a normal page it turns every emphasis into an interruption. So a reader hears the course list with nothing marking the prerequisites, and no reason to suspect anything was marked. It is not that the cue is hard to catch. It was never sent.

Passes vs. fails

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

Passes

Each prerequisite is bold and also labeled in the text, reading 'Biology 101 (prerequisite)'.

Fails

A course catalog notes that 'courses shown in bold are prerequisites', and the bolding is the only thing marking them.

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 on its own. Implement it correctly, in a way your readers' software actually supports, and the rule is met.

This guide is our interpretation of W3C technique G117: Using text to convey information that is conveyed by variations in presentation of text. 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