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.

Usually 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="form-control input--lg js-connect--zip" name="connect--zip" maxlength="5" pattern="\d{5,5}(-\d{4,4})?" placeholder="Zip Code (optional)"> 125
<input type="text" class="form-control states-cities-list-filter" placeholder="Filter Your Results"> 38
<input type="email" name="emailAddress" class="form-control" aria-required="true" autocorrect="off" autocapitalize="off" autocomplete="email" placeholder="example@example.com"> 4
<input type="email" name="emailAddress" class="form-control js-reset-email" aria-required="true" autocorrect="off" autocapitalize="off" autocomplete="email" placeholder="Email Address"> 4
<input class="rebate-search__input form-control js-rebate-search__input" type="text" placeholder="Search Rebates"> 1
<input type="text" pattern="[0-9]*" min="1" class="qty-input js-qty form-control js-gc-quantity" name="gc-quantity" value="1" maxlength="3" autocomplete="off" autocorrect="off"> 1
<button class="rebate-search__clear js-rebate-search__clear button button--white">...</button> 1
<select class="o-select js-video-category-filter">...</select> 1
<input type="text" class="form-control js-masked-cc" id="cardNumber" name="accountNumber" autocomplete="off"> 1
<input pattern="[0-9]*" type="text" data-qa="createaccount-zip-input" class="form-control form-control--hide-spinner js-zip-code orly-createaccount-zip-input" id="createAccountZipCode" name="zipCode" maxlength="5" aria-required="true" autocomplete="off" value> 1
178 distinct issues were found in the sample of 125 web pages. Only the first 10 issues are shown here.
More results from O'Reilly Automotive