Explicit Labelling (for Inputs)
Explicit labelling is the practice of providing visible, programmatically linked text descriptions for form inputs. This ensures that users, especially those using assistive technologies can understand what information is being requested.
The most common and accessible method uses the <label> element linked to the input via the for attribute, for example:
<label for="email">Email Address</label>
<input id="email" type="email" />
This creates an explicit, programmatic connection recognised by screen readers and other assistive technologies.
Relying on placeholder text as a substitute for a label is a frequent accessibility failure. Placeholders disappear when typing, often provide insufficient guidance, and are not always announced properly by screen readers. Labels, on the other hand, persist visually and audibly, giving all users a clear context.
Explicit labelling meets WCAG 3.3.2 (Labels or Instructions) and improves usability for everyone by reducing confusion, ensuring that each input has a clear, accessible name.