Labels or Instructions
Fields need labels, and any format requirement has to be stated before the reader types rather than after they get it wrong. A placeholder is not a label: it disappears the moment focus arrives, exactly when it is needed.
- Principle
- Understandable
- Guideline
- 3.3
- Level
- A
- In WCAG since
- 2.0
- Number
- 3.3.2
Broken, then fixed
The same interface twice: first with the mistake, then with the smallest change that fixes it.
Placeholders standing in for labels.
Once typing starts the labels are gone, so nobody can check what a half-filled form was asking for. The format rules are unstated until the form is rejected.
Persistent labels, with the format stated up front.
The label stays visible while typing, and the requirement is stated before it can be broken rather than reported afterwards.
How to test
Check your own interface against 3.3.2, one step at a time.
- List every text field, checkbox, radio group and select menu on the page.
- Check that each one has a visible label or instruction that is still there while you type. A placeholder that disappears does not count on its own.
- Look for fields that only accept certain input, such as a date format, a minimum password length or a required answer. Check that what they accept is stated before the field, not only in an error after you get it wrong.
- Check that each group of radio buttons or checkboxes has a label for the group, such as a question above the options, as well as a label for each option.
Common questions
Is a placeholder a label for 3.3.2?
No, not on its own. Placeholder text disappears as soon as the reader types, which is when they need it. Use a visible label, and a placeholder only as an extra hint.
Is aria-label enough to pass 3.3.2?
No. aria-label gives a screen reader a name, but 3.3.2 is about labels everyone can see. A field can pass 4.1.2 Name, Role, Value and still fail 3.3.2.
Does every field need instructions under 3.3.2?
No. A clear label is enough for most fields. Add instructions only where a field expects a format or a limit a reader could not guess, since too many get in the way as much as too few.
Try it yourself
A lab is a small working piece of interface that you change yourself. Read its steps, use the controls under it, and watch the verdict line at the bottom: it says whether the criterion passes or fails as you go. Reset puts it back.
Try it: label the field
How to use this lab
- Goal. Label a date of birth field so people know what to type, even after they start typing.
- The controls. The options under “What labels the field” set A placeholder only or A visible label and the format. What you type in the Type into the field input appears in the mock field. A line under the lab says what is still on screen, and the log shows what a screen reader says.
- Try this. The lab starts on A placeholder only. Type a date into Type into the field and watch the placeholder go. Then choose A visible label and the format and type again.
- What it means. With A visible label and the format, 3.3.2 passes: the label and an example stay in view. With A placeholder only, 3.3.2 fails, because the hint vanishes as soon as typing starts, and people who forget it, or never saw it, have nothing to check. The verdict line under the lab says which.
Screen reader says
3.3.2 fails
Also in guideline 3.3
Criteria in the same guideline often fail together.
- 3.3.1, UnderstandableLevel A
Error Identification
Fails when: A colour and a generic banner.
- 3.3.3, UnderstandableLevel AA
Error Suggestion
Fails when: The error names the field and stops there.
- 3.3.4, UnderstandableLevel AA
Error Prevention (Legal, Financial, Data)
Fails when: One irreversible click.
- 3.3.7, UnderstandableNew in 2.2Level A
Redundant Entry
Fails when: The address is typed twice.
- 3.3.8, UnderstandableNew in 2.2Level AA
Accessible Authentication (Minimum)
Fails when: A puzzle, and paste disabled.