W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2002

Re: Tab Order in Forms

From: The Snider's Web <lsnider@thesnidersweb.com>
Date: Fri, 12 Jul 2002 08:25:59 -0300
Message-Id: <>
To: Charles McCathieNevile <charles@w3.org>
Cc: RUST Randal <RRust@COVANSYS.com>, <w3c-wai-ig@w3.org>

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>

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 :)



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.
>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, 
Received on Friday, 12 July 2002 07:26:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:05 GMT