Form labels
Also called: Input labels, label element
Visible text that identifies a form field, connected to it in code so assistive technology announces it.
Definition
WCAG defines a label as text or other component with a text alternative that is presented to a user to identify a component within web content. It notes that a label is presented to all users, whereas the name may be hidden and only exposed by assistive technology. The term is not limited to the HTML <label> element.
In HTML, the usual way to connect the two is <label for="email">Email</label> with <input id="email">, which also becomes the field's accessible name.
Why it matters
Without a connected label, a screen reader announces only "edit text", and voice control users have nothing to say to reach the field. WebAIM's 2026 Million report found missing form input labels on 51% of the top one million home pages. Placeholder text is not a label: it disappears as soon as someone types, and has poor contrast by default. Several criteria apply: 3.3.2 Labels or Instructions, 1.3.1 Info and Relationships, 4.1.2 Name, Role, Value and 2.5.3 Label in Name.
How to test or meet it
- Give every field a visible
<label>connected withforandid, or wrap the field in it. - Group radio buttons and checkboxes in a
<fieldset>with a<legend>. - Tie hints and error messages to the field with
aria-describedby. - Add
autocompletevalues for personal data (1.3.5).
Automated tools reliably find fields with no label at all. Whether a label is clear, and whether errors are described in a useful way, needs a manual review.
WCAG criteria
- 3.3.2 Labels or Instructions (Level A)
- 1.3.1 Info and Relationships (Level A)
- 4.1.2 Name, Role, Value (Level A)
- 2.5.3 Label in Name (Level A)
- 1.3.5 Identify Input Purpose (Level AA)
Tools and guides
Related terms
Sources
By the Perceivly team · Published . This explains a term; it is not legal advice.