WCAGA
How to test criterion 3.3.2 “Labels or Instructions — Labels or instructions are provided when content requires user input.”
- WCAG references
- 3.3.2 Labels or Instructions (A)
What this criterion says
Labels or instructions are provided when content requires user input.
Official methodology to test criterion 3.3.2
Official W3C techniques
The W3C does not publish a test procedure for this criterion. It publishes techniques instead: documented ways to meet it, and the failures that do not.
Sufficient techniques
- G131 Providing descriptive labels
Using
- ARIA1 Using the aria-describedby property to provide a descriptive label for user interface controls
- ARIA9 Using aria-labelledby to concatenate a label from several text nodes
- ARIA17 Using grouping roles to identify related form controls
- G89 Providing expected data format and example
- G184 Providing text instructions at the beginning of a form or set of fields that describes the necessary input
- G162 Positioning labels to maximize predictability of relationships
- G83 Providing text descriptions to identify required fields that were not completed
- H90 Indicating required form controls using label or legend
- PDF5 Indicating required form controls in PDF forms
- H44 Using label elements to associate text labels with form controls
- PDF10 Providing labels for interactive form controls in PDF documents
- H71 Providing a description for groups of form controls using fieldset and legend elements
- G167 Using an adjacent button to label the purpose of a field