Form labels
One of the checks in every audibot report. This page says exactly what audibot reads, what passes, and how to fix it.
What audibot checks
Every <input> that is not hidden or a button. A field counts as labelled if it has aria-label, aria-labelledby or title, or an id that a <label for> points to. A field nested inside its <label> without for is not recognised, and <select> and <textarea> are not checked. If the page has no such fields, this check does not appear.
- Pass
Every field is labelled.
- Warning
At least one field has no label a screen reader can find.
Why it matters
A screen reader announces a field by its label. Without one the user hears "edit text" and has to guess what to type. A placeholder is not a label: it disappears as soon as someone types.
How do I label form fields for screen readers?
Give each field a visible <label> connected with for and id. Where a visible label really does not fit, such as a search box next to a search button, use aria-label.
HTML
<label for="email">Email address</label>
<input id="email" name="email" type="email">
<input type="search" name="q" aria-label="Search the site">Related tools
- Homepage accessibility checker — Check homepage markup for language, viewport, alt text, labels and link text.
Other checks in Accessibility basics
Accessibility basics in the methodology ·All guides
This check is one step of the website launch checklist.
Check your site
audibot runs this check and every other one in a single audit, and publishes the report with a recommendation for each finding.