Re: Tables, Radio Buttons & Labels...

Dear Bill

The W3C HTML 4.01 Recommendation state that:

"Each LABEL element is associated with exactly one form control"
(http://www.w3.org/TR/html4/interact/forms.html#edef-LABEL)

I interpret the above statement as meaning that every individual <input>
or <textarea> elements requires a label to satisfy WAI 10.2 and 12.4
priorities.  Is this right?

If that is right and there must be a one to one relationship between
each individual form control and a label how do you label radio buttons
that appear in tables (like in my example).  Because in a table each
"label" (e.g. column headings) has a number of form controls associated
with it.

That is why my orginal example does not contain any <label> elements.

Kind regards,
Scott Rippon.

Bill Mason wrote:
> 
> At 09:08 PM 7/24/2003, Scott Rippon wrote:
> >http://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-labels
> >http://www.w3.org/TR/html401/interact/forms.html#edef-LABEL
> >
> >I have a form which contains a table.  This table has a number of
> >questions and radio buttons that users can rate their response to those
> >questions.  In this case each radio button has two labels.  I've read
> >the two above links but I'm a bit confused about how to satisfy priority
> >10.2 & 12.4.  This is an example of my code for this table.  Is this how
> >it should be done?
> 
> The attached code had no LABEL tags at all, so how could that possibly have
> a shot at being how it should be done...?
> 
> I'm confused.
> 
> Bill Mason
> Accessible Internet
> w3c@accessibleinter.net
> http://www.accessibleinter.net/

Received on Wednesday, 30 July 2003 02:20:43 UTC