Skip to main content
WCAGrules
Quick navigation

Fixes by subject · 59 techniques

How to Fix Forms and Error Messages

Every other accessibility failure costs somebody effort. A broken form costs them the whole task, and unlike a missing alt attribute you feel it in your numbers.

Forms are the subject automated testing is worst at. Guideline 3.3 covers labels, errors and the help around them across nine criteria, and between those nine there is exactly one automated test rule, still proposed rather than approved. The gap has a shape you can point at. A field labeled only by its placeholder does have an accessible name, so it passes the machine check. Then the label vanishes the second somebody starts typing. So the techniques here cover labelling that survives contact with a user, grouping related controls, and error messages that name the field and say what to do about it. They also cover announcing those errors rather than only showing them, and the autocomplete values that let a browser fill fields in for people who find typing hard.

All 59 techniques

They run in technique order, and each one carries a tag. Sufficient techniques satisfy a rule. Advisory ones help without being required. Failures document a specific way of getting it wrong. None of them is mandatory, because W3C publishes techniques as documented ways of meeting a criterion rather than the only ways, so your own approach conforms as long as it meets the criterion.

More on Forms and errors

The other 13 subjects

Knowing the technique is not the same as knowing you need it.

The free scan checks 10 pages in a real browser and maps every machine-checkable failure to the exact fix guide that clears it.

Run the free scan

Go somewhere useful

Find tools, resources and your workspace.

29 destinations