You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation of the rule should be in docs/any-input-descendant-of-a-label-element-with-a-for-attribute-must-have-an-id-value-that-matches-that-for-attribute.md
The suggested content is:
The for label specifies which input a label is bound to. A label should be bound to the id of the input.
# How to Fix
<form action="/action_page.php">
<label for="male">Male</label>
<input type="radio" name="gender" id="male" value="male">
</form>
# Resources
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label)
* [w3school](https://www.w3schools.com/tags/att_label_for.asp)
User agent of user: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
The text was updated successfully, but these errors were encountered:
A edit was suggested from the library page - https://passmarked.com/library/compatibility/html/any-input-descendant-of-a-label-element-with-a-for-attribute-must-have-an-id-value-that-matches-that-for-attribute.
The documentation of the rule should be in docs/any-input-descendant-of-a-label-element-with-a-for-attribute-must-have-an-id-value-that-matches-that-for-attribute.md
The suggested content is:
User agent of user:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
The text was updated successfully, but these errors were encountered: