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.
72.8% done
How close this website is to fixing this issue.
HTML | Found on page | Issues |
---|---|---|
<input type="text" name="name" value class="hidden">
|
4 | |
<input id="T:oc_113213187region1:CTN" type="text" name="CTN" class="validateItem validateCTN validateRequired" maxlength="40" placeholder="e.g 07123456789" goodname="CTN" adfname="T:oc_113213187region1:CTN" data-di-id="#T:oc_113213187region1:CTN">
|
2 | |
<button type="button" class="js-snippet-indicator-button snippet__indicator--button snippet__indicator--button--active" value="0" sec_uuid="43ff8e4e226f" data-di-id="di-id-1ab62183-de6a8754">0</button>
|
1 | |
<button class="vfuk-DeviceThumbnail__device" sec_uuid="f054043e720a">...</button>
|
1 | |
<select name="top-up__number" class="form__select js-article-filter-category" data-filter-type="cat" sec_uuid="14269c4a87bf">...</select>
|
1 | |
<button class="slick-arrow slick-prev slick-disabled light slick-prev default" sec_uuid="028194ec6939">...</button>
|
1 | |
<button type="button" class="js-snippet-indicator-button snippet__indicator--button snippet__indicator--button--active" value="0" sec_uuid="e55cfd851289" data-di-id="di-id-1ab62183-10a71f1">0</button>
|
1 | |
<select name="request__webchat-recordings" sec_uuid="f86d3a095675">...</select>
|
1 | |
<input type="tel" id="contact_ctn" name="contact_ctn" class="fm-required" value minlength="11" maxlength="15" placeholder="eg 07555 000 000" required="required" data-pattern="mobile">
|
1 | |
<select name="select" id="select" class="vfuk-Select__select" aria-required="false" sec_uuid="d8be3e1b8d95" data-di-id="#select">...</select>
|
1 |