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
<input> elements may be nested inside a <label> element, and in this case the association is implicit and a for attribute is not needed on the <label>. Example from MDN:
<label>Do you like peas?
<inputtype="checkbox" name="peas"></label>
Wallaby doesn't support this use case, at least when selecting an option in a radio list. It raises this errors:
▏ ▏** (Wallaby.QueryError) The text '...' matched a label but the label has no 'for'
▏ ▏attribute and can't be used to find the correct element.
▏ ▏You can fix this by including the `for="YOUR_INPUT_ID"` attribute on the
▏ ▏appropriate label.
The text was updated successfully, but these errors were encountered:
<input>
elements may be nested inside a<label>
element, and in this case the association is implicit and afor
attribute is not needed on the<label>
. Example from MDN:Wallaby doesn't support this use case, at least when selecting an option in a radio list. It raises this errors:
The text was updated successfully, but these errors were encountered: