About
Purpose
The purpose of this success criterion is to ensure that all form inputs are labelled or have instructions that allow users to understand what information is expected or is being set.
How to Meet
Authors should ensure that all form input fields are clearly labelled so the information the
user needs to input or select from can be understood (e.g., using the label
element,
or the aria-label
or aria-labelledby
attributes).
For example, a date field should not provide three unlabelled selection boxes for the date, month, and year, as it requires users to inspect the values of each to determine which field is which.
Labelling also applies to items like checkboxes and radio buttons. The labels for these should clearly indicate what option the user is selecting.
If the input is restricted (for example, it must match a specific pattern or be within a set range), authors also need to provide clear instructions to users about these expectations.
Additional Information
The following knowledge base pages provide more information about how to address this success criterion for publishing content: