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" class="in-text" placeholder="Search">
|
100 | |
<input type="checkbox" id="check-14" name="items[]" value="2014 - Interim Management Statement for the 17 weeks to 26 April 2014.pdf">
|
1 | |
<input type="checkbox" id="check-9" name="items[]" value="2013 - Interim Management Statement for the 13 weeks to 28 September 2013.pdf">
|
1 | |
<input type="checkbox" id="check-6" name="items[]" value="Greggs - 2014 Prelim Results 04 03 15 FINAL.pdf">
|
1 | |
<input type="checkbox" id="check-2" name="items[]" value="Greggs - 2015 Preliminary Statement 01.03.16.pdf">
|
1 | |
<input type="checkbox" id="check-4" name="items[]" value="Greggs - Trading Update 06 10 15 final.pdf">
|
1 | |
<input type="checkbox" id="check-11" name="items[]" value="2014- Presentation Prelim Statement for the 52 weeks ended 28th December 2013.pdf">
|
1 | |
<input type="checkbox" id="check-10" name="items[]" value="Results of Annual General Meeting.pdf">
|
1 | |
<input type="checkbox" id="check-13" name="items[]" value="2014 - Prelim statement for the 52 weeks ended 28th December 2013.pdf">
|
1 | |
<input type="checkbox" id="check-15" name="items[]" value="2014 - AGM Notice.pdf">
|
1 |