Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

radio button usability issue

#96

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>

Reported by isak · October 6th, 2010 @ 05:07 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

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.