visible-labels
Elements that allow users input must have a visible label to indicate their context and purpose.
Description
All text and form fields need a visible, permanent label to clearly identify their purpose. These labels should always be in close proximity to their associated fields, making their relationship obvious and ensuring users of magnifier software can perceive them together. A placeholder is not a valid substitute for a true label, as it disappears once a user enters a value, hindering their understanding of the field's purpose.
Quick Fixes
Ensure you provide a visible and properly positioned label for every form field, ensuring it's not a placeholder (attribute), and its association with the input is immediately clear to all users.
Fail Patterns

Pass Patterns

How Users Are Affected
Missing or poorly associated form labels create barriers for many users. Without clear, persistent labels, individuals struggle to understand a field\'s purpose, leading to confusion, errors, and form abandonment. This impacts users with cognitive disabilities, for whom disappearing placeholder text can cause significant confusion and memory strain. Additionally, users with low vision who use magnifier software may struggle with labels not in close proximity.
WCAG Success criteria
This issue might cause elements to fail one or more of the following Success criteria:
3.3.2 Labels or Instructions (A)