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
Currently, selecting a form control can only be done by clicking or focusing the form control element itself; focusing the associated <label> element does nothing.
This is particularly annoying for radio and checkbox inputs.
The <label> tags do have for='...' attributes, but the form controls all lack an id='...' attribute.
(they are outfitted with name='...' attributes, but the input needs to have a matching id attribute for it to respond to a click on its <label> element. 😢 )
Suggested solution
add id attribute matching the name attribute on Form controls (<input>, <select>, <textarea> etc)
The text was updated successfully, but these errors were encountered:
Currently, selecting a form control can only be done by clicking or focusing the form control element itself; focusing the associated
<label>
element does nothing.This is particularly annoying for
radio
andcheckbox
inputs.The
<label>
tags do havefor='...'
attributes, but the form controls all lack anid='...'
attribute.(they are outfitted with
name='...'
attributes, but the input needs to have a matchingid
attribute for it to respond to a click on its<label>
element. 😢 )Suggested solution
add
id
attribute matching thename
attribute on Form controls (<input>
,<select>
,<textarea>
etc)The text was updated successfully, but these errors were encountered: