I get the following error in the W3C Validator:
The for attribute of the label element must refer to a form control
I have the following code:
<label class="description" for="rating-item-3-1">Test</label>
<input id="rating-item-3-1" type="hidden" value="0" name="rating-item-3-1">
I was researching and this error is due to type="hidden". Is there any way to fix this error?
Thanks.