Use the appropriate element’s ID in the ‘for’ attribute
Engine scans label elements having a “for” attribute and checks whether the id in the attribute points to an existing element
When label elements are properly associated with input elements the label is spoken by screen readers when the field receives focus and users with impaired motor control are helped by a larger clickable area for the control, since clicking on the label or the control will activate the control.
<label for="name">First name:</label>
<input type="text" name="name" id="id_example_name" />