Currently all labels have the same for= attribute value, which is the name of the input. Instead, the for= attribute for each label should correspond to an option's id attribute.
Expected Behavior
Clicking the label of a radio option should set that radio to that option.
Details
Currently all labels have the same
for=
attribute value, which is the name of the input. Instead, thefor=
attribute for each label should correspond to an option'sid
attribute.Expected Behavior
Clicking the label of a radio option should set that radio to that option.
Visuals