1 Why this criterion exists
Forms are the primary way users interact with digital services, from logging in to making purchases or submitting applications. For users with cognitive disabilities, memory challenges, or attention deficits, understanding what information is required and how to provide it can be a significant barrier. WCAG Success Criterion 3.3.2 Labels or Instructions requires that labels or instructions are provided when content requires user input. This ensures that users know what data is expected and can complete tasks without confusion or error.
The criterion exists because unlabeled or ambiguously labeled fields force users to guess, increasing cognitive load and the likelihood of mistakes. When instructions are missing or only appear as placeholder text, users may forget what was asked once they start typing. This is especially problematic for individuals with short-term memory loss or those who use screen readers, as placeholders are often not announced or disappear upon focus. By mandating persistent labels and instructions, the criterion supports independence and reduces the need for external help or repeated attempts.
Ultimately, 3.3.2 is about clarity and predictability. It ensures that forms are understandable to the widest possible audience, including those who rely on assistive technology or have cognitive differences. Without it, even simple forms become obstacles, undermining the principle of Understandable content.
2 Who it protects
This criterion primarily protects users with cognitive disabilities, such as memory impairments, attention deficit hyperactivity disorder, dyslexia, and intellectual disabilities. These users may struggle to retain instructions that are only presented visually or temporarily, like placeholder text. They benefit from labels that remain visible and instructions that are always available, reducing the need to remember what a field requires. Additionally, people with low vision or color blindness may miss subtle visual cues, so persistent text labels are essential.
Screen reader users are also protected, as they rely on programmatic labels to understand form fields. When a label is properly associated with an input, screen readers announce it when the field receives focus. Placeholders, however, are inconsistently supported and may be skipped or read after the field label, causing confusion. Users of voice control software also depend on visible labels to know what to say when filling out forms. Without persistent labels, these users cannot accurately target fields.
Furthermore, users with motor disabilities who may use alternative input methods, such as switch devices or eye tracking, benefit from clear labels because they reduce the need for precise navigation to discover instructions. In essence, 3.3.2 supports anyone who needs consistent, perceivable information to complete forms successfully, making it a cornerstone of accessible design.
3 How conformance is measured
Conformance to 3.3.2 is measured by evaluating whether every input field that requires user input has an associated label or instruction. This can be done manually by inspecting the form and verifying that each control has a visible label that is programmatically associated with it. Automated tools can flag missing labels by checking for the presence of <label> elements, aria-label, aria-labelledby, or title attributes. However, automated checks cannot determine if the label is meaningful or if instructions are sufficient; human judgment is required.
For instructions, testers must confirm that any additional guidance needed to complete a field is provided in a way that persists. For example, if a password field requires a minimum length, that instruction should be visible on the page and not solely in a placeholder. The criterion does not prescribe a specific technique, but it expects that labels and instructions are available to all users, including those who cannot see the screen or who have cognitive limitations. Testing with a screen reader is crucial to ensure that labels are announced correctly and that instructions are read when needed.
In practice, conformance is often assessed by combining automated scans with manual checks. Automated tools can catch obvious errors like missing labels, but they cannot evaluate the clarity or persistence of instructions. Therefore, a thorough evaluation includes keyboard navigation, screen reader testing, and cognitive walkthroughs to ensure that the form is understandable and usable by people with diverse abilities.
4 Where teams usually slip
A common mistake is relying solely on placeholder text to serve as the label. Placeholders disappear when the user starts typing, forcing them to remember what the field was for. This is particularly problematic for users with cognitive disabilities who may forget the instruction after a few seconds. Additionally, placeholders often have low contrast, making them hard to read for users with low vision. Even when placeholders are used, they are not a substitute for a proper label because they are not consistently announced by screen readers and may be ignored by some assistive technologies.
Another frequent slip is providing instructions only in a tooltip or help icon that requires hover or click to reveal. Users who cannot use a mouse or who have cognitive challenges may not discover these instructions. Similarly, instructions that appear only after an error occurs are not proactive; users need to know requirements before they submit. Teams also sometimes use visual asterisks to indicate required fields without a text explanation, which can confuse users who do not know what the asterisk means or who cannot see it.
A third area is the use of ARIA attributes incorrectly. For example, using aria-label on a non-interactive element or duplicating labels can cause screen readers to announce redundant information. Teams may also forget to associate labels with inputs using the for and id attributes, resulting in a label that is visually present but not programmatically linked. These oversights create barriers that are easily avoided with proper markup and testing.
5 Fixing it in your markup
To meet 3.3.2, start by ensuring every form control has a visible label using the <label> element. The label's for attribute must match the id of the corresponding input. This creates a programmatic association that screen readers can announce. For example, <label for="name">Full Name</label><input type="text" id="name">. If a visible label is not desired for design reasons, use aria-label or aria-labelledby to provide an accessible name, but be aware that visible labels benefit all users and are generally recommended.
Instructions should be placed outside the input and remain visible at all times. For instance, if a date must be formatted as MM/DD/YYYY, include that text near the field, not as a placeholder. You can associate instructions with the input using aria-describedby, which screen readers will announce after the label. This ensures that users hear the instruction when they focus on the field. Avoid using placeholder as a replacement for labels; if you use a placeholder for additional hints, ensure it does not duplicate the label and that the same information is available elsewhere.
Group related fields with <fieldset> and <legend> to provide context, such as for radio buttons or checkboxes. For required fields, use the required attribute or aria-required="true" and include a visible indicator like "required" in the label. Always test your markup with a screen reader to confirm that labels and instructions are announced correctly and in a logical order. By following these practices, you create forms that are understandable and usable for everyone.
6 Testing before you ship
Before releasing a form, conduct both automated and manual tests. Automated tools like axe, WAVE, or Lighthouse can quickly identify missing labels or misused ARIA attributes. However, these tools cannot verify that labels are clear or that instructions are sufficient. Therefore, manual testing is essential. Start by navigating the form using only a keyboard. Ensure that every input receives focus in a logical order and that its label is visible and associated. Check that instructions are present and remain visible when the field is focused or filled.
Next, test with a screen reader. Use at least one screen reader to verify that labels are announced when fields receive focus and that instructions are read appropriately. For example, when tabbing to a password field, the screen reader should announce the label "Password" and any associated instructions like "Must be at least 8 characters." If instructions are only in a placeholder, they may not be announced, so confirm that critical information is available programmatically. Also, test with voice control software to ensure that visible labels match the accessible names, allowing users to say "click Full Name" successfully.
Finally, consider cognitive walkthroughs with users who have cognitive disabilities, if possible. They can provide insights into whether labels and instructions are clear and easy to understand. Remember that accessibility is not a one-time check; incorporate these tests into your development workflow to catch issues early. By combining automated checks, manual keyboard and screen reader testing, and user feedback, you can ensure conformance to 3.3.2 and create forms that work for everyone.
7 Frequently asked questions
Is a placeholder sufficient as a label? No. Placeholders disappear when the user types and are not consistently announced by screen readers. They also often have low contrast. A visible, persistent label is required to meet 3.3.2. Placeholders can be used for additional hints, but the label must remain.
Can I use aria-label instead of a visible label? Yes, aria-label provides an accessible name for screen readers, but it does not provide a visible label for sighted users. If the design requires no visible label, aria-label can be used, but it is generally better to have a visible label for all users. Ensure that the aria-label is clear and matches the purpose of the field.
What about instructions that only appear on error? Instructions should be provided before submission to prevent errors. Error messages are important but do not replace upfront instructions. Users need to know requirements in advance to complete the form successfully. Provide instructions persistently, and use error messages to reinforce and guide corrections.
How do I handle required fields? Indicate required fields both visually and programmatically. Use the required attribute or aria-required="true", and include a visible indicator such as the word "required" or an asterisk with a legend explaining it. Do not rely on color alone to indicate required status.
Does 3.3.2 apply to search fields? Yes, any input that requires user input should have a label or instruction. A search field should have a visible label or an accessible name, such as "Search", to clarify its purpose. Even if a magnifying glass icon is used, a text label is beneficial for clarity and accessibility.