Re: Tab Order in Forms

Yep, that's it. (Except that there is nothing to link your two radio items
together, but that's a different matter).

Cheers

Chaals

On Fri, 12 Jul 2002, The Snider's Web wrote:

>
>Hi Chaals,
>
>Thanks for correcting me. This is what I used on a site of mine-is this
>what you mean?
>
>         <FIELDSET><LEGEND>Previous Member *</LEGEND><BR>
>         <INPUT id="yes" type="radio" value="yesmember" name="yesmemberanswer">
>         <label for="yes">Yes, I was a previous member of NEWD</label><br>
>         <INPUT id="no" type="radio" value="nomember" name="nomemberanswer">
>         <label for="no">No</label>, I was not a previous member of NEWD<br>
>         </FIELDSET>
>
>At the time I put up my site it was hard to find the right info for forms
>and accessibility (didn't know about this list!), thus I want to make sure
>I am also doing it right :)
>
>Cheers
>
>Lisa
>
>At 05:04 AM 7/12/2002 -0400, Charles McCathieNevile wrote:
>>No, the input and label don't have to be in the same place. By contrast, I
>>would suggest that you use fieldset and legend to label the group, rather
>>than span (which doesn't have any useful semantics beyond what you suggest
>>for presentation as CSS or add as metadata referring to the element). Then
>>user agents that implement HTML 4 will be able to group the things for users.
>>
>>Cheers
>>
>>Chaals
>>
>>On Thu, 11 Jul 2002, The Snider's Web wrote:
>>
>> >
>> >Hi Randal,
>> >
>> >I am no expert in this field, but doesn't the input line have to come
>> >before the label line?
>> >
>> >Cheers
>> >
>> >Lisa
>> >
>> >At 12:41 PM 7/11/2002 -0400, you wrote:
>> >
>> >>I'm having a problem with a form I'm putting together.  Basically, I can't
>> >>use the keyboard to tab to the "No" option.  Does anyone see anything wrong
>> >>with my markup that might be causing this?
>> >>
>> >><span class="label">Do you need child care for your children?</span>
>> >><label for="childCareYes">Yes</label>
>> >><input type="radio" id="childCareYes" name="childCare" value="y" />
>> >><label for="childCareNo">No</label>
>> >><input type="radio" id="childCareNo" name="childCare" value="n" />
>> >>
>> >>Randal Rust
>> >>Covansys, Inc.
>> >>Columbus, OH
>> >
>>
>>--
>>Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409
>>134 136
>>W3C Web Accessibility Initiative     http://www.w3.org/WAI  fax: +33 4 92
>>38 78 22
>>Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
>>(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex,
>>France)
>

-- 
Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
W3C Web Accessibility Initiative     http://www.w3.org/WAI  fax: +33 4 92 38 78 22
Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
(or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)

Received on Friday, 12 July 2002 08:59:30 UTC