radio button usability issue
Reported by isak | October 6th, 2010 @ 05:07 PM
HTML radio buttons should not require the user to click on the actual circle, it should be enough to click on the label. Nitrogen produces HTML that does not allow for this behaviour (at least not in Firefox or Chrome):
<input name=".wfid_temp635285" value="1" type="radio" class="wfid_temp635323 wfid_myRadio1 radio" checked="true"/><label for=".wfid_temp635323">Option 1</label>
I would suggest that the generated HTML should be either:
<input name=".wfid_temp635285" value="1" type="radio" id="wfid_temp635323" class="wfid_myRadio1 radio" checked="checked"/><label for="wfid_temp635323">Option 1</label>
or:
<label for="wfid_temp635323"><input name=".wfid_temp635285" value="1" type="radio" id="wfid_temp635323" class="wfid_myRadio1 radio" checked="checked"/> Option 1</label>
or even:
<label><input name=".wfid_temp635285" value="1" type="radio" class="wfid_myRadio1 radio" checked="checked"/> Option 1</label>
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Nitrogen Web Framework for Erlang