What does this mean?
People using screen readers are not able to see the layout of a form. To make forms accessible, they must define explicit text labels for each form control.
More helpUsually the best solution is to use a <label>
element. The label may be linked to
by the form control:
<label for="name">Full name</label>
<input type="name" id="name">
or the <label>
can be wrapped around the form control:
<label>
Full name <input type="name">
</label>
Buttons are different, as their labels are specified by the code for the button, e.g.
<input type="submit" value="Send message">
<button>Send message</button>
Alternatively ARIA attributes, such as aria-label
may be used, but this information
will not be conveyed to visual users. For more information, see W3C's guide to labeling controls.
Hidden input fields (<input type="hidden">
) do not require labels.
Note that the placeholder
attribute
should not be used as an alternative to a label.
0% done
How close this website is to fixing this issue.
HTML | Found on page | Issues |
---|---|---|
<input type="text" name="401c71b4-972b-45b5-bf13-791fbb070866" id="401c71b4-972b-45b5-bf13-791fbb070866" class="c-textbox" value maxlength="500" placeholder="Phone Number">
|
125 | |
<input type="text" name="01b6b9b6-151a-47fe-c9f2-721f8b778a02" id="01b6b9b6-151a-47fe-c9f2-721f8b778a02" class="c-textbox" value maxlength="500" placeholder="Postcode">
|
125 | |
<input type="text" name="f0babd4e-4f31-41a1-d667-58727fdf751b" id="f0babd4e-4f31-41a1-d667-58727fdf751b" class="c-textbox" value maxlength="500" placeholder="Last Name" data-val="true" data-val-required="Please provide a value for Last Name">
|
125 | |
<input type="text" name="a27d18379ff842aa94d66ebfb8c6a240">
|
125 | |
<input type="text" name="db295384-67f6-411f-c510-6d7344139e2a" id="db295384-67f6-411f-c510-6d7344139e2a" class="c-textbox" value maxlength="500" placeholder="First Name" data-val="true" data-val-required="Please provide a value for First Name">
|
125 | |
<input type="text" name="aaacf896be3742a7a0a69fe489bb0714">
|
125 | |
<input type="text" name="search" id="search" class="c-search__input">
|
125 | |
<textarea class=" c-textbox" name="431e335f-508f-4524-89cc-2b88728d7a46" id="431e335f-508f-4524-89cc-2b88728d7a46" rows="2" cols="20" placeholder="Details"></textarea>
|
125 | |
<input type="text" name="868a3ab4-9f4d-438b-e65b-d3208cb90609" id="868a3ab4-9f4d-438b-e65b-d3208cb90609" class="c-textbox" value maxlength="500" placeholder="Name">
|
125 | |
<input type="text" name="ff12ecaa-e60a-4473-9b40-7b2327a8bc0d" id="ff12ecaa-e60a-4473-9b40-7b2327a8bc0d" class="c-textbox" value maxlength="500" placeholder="Email" data-val="true" data-val-required="Please provide a value for Email">
|
125 |