Skip to main content
WCAGrules
Quick navigation

Position labels where users expect them

G162 is about where the label sits. In left-to-right languages that means directly before the field, either to its left or above it, and after the field for checkboxes and radio buttons. Those positions are conventional, which is the entire argument for them, and putting labels before the input also lets them line up in a column that a magnifier user can follow. Status varies by rule, so read it before you file the finding. W3C lists this as sufficient for 3.3.2 Labels or Instructions at Level A only when it is used together with the technique that makes labels descriptive, since a well-placed label that says nothing is no help. At the structure rule it is advisory rather than sufficient, and it is advisory again at the Level A rule about the visible label matching the accessible name.

How we find it in an audit

Our reviewers work through forms at high magnification, where ambiguous spacing becomes obvious in a way it never is at normal size. Equal gaps above and below a field make ownership a coin flip. Checkbox and radio labels get checked separately. They follow the opposite convention and get flipped often.

How affected users experience it

Someone using screen magnification sees a few fields at a time, without the overview that makes a form's grouping obvious. If the label could belong to the field above or the field below, they have to zoom out to check and zoom back in to type, on every field. Predictable positions remove that trip entirely. Programmatic association still matters underneath, because position is a visual cue and a screen reader reads the association.

Passes vs. fails

Passes: a label that stays put. Fails: placeholder-only fields.

Passes

Text-field labels sit directly above their fields, and checkbox and radio labels sit immediately to the right, exactly where readers expect them.

Fails

Labels float in a grid with equal spacing above and below each field, so under magnification it is a coin flip which label owns which box.

How this gets tested

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

The other techniques filed under this rule

52 guides on this site are filed under 1.3.1 Info and Relationships. W3C lists this one as advisory for that rule rather than sufficient, which means it helps real readers without being accepted as evidence you conformed.

This guide is our interpretation of W3C technique G162: Positioning labels to maximize predictability of relationships. 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