A form field should be labelled. Use a label element with a “for”, “aria-label” or “aria-labelledby” attribute according to specifications.
Engine scans page for form fields, except buttons, and validates if they have a <label for=”input_id”>
, <aria-label=”value”>
, <aria-labelledby= id=”input_id”>
or <title=”value”>
.
Some users will not be able to identify the purpose of the form control.
<label for="example">First Name:</label>
<input type="text" id="example">