[whatwg] Form Control Group Labels

Simon Pieters zcorpan at hotmail.com
Thu Nov 2 06:00:05 PST 2006


From: Matthew Raymond <mattraymond at earthlink.net>
> >[...]
> >
> > Note: It's also possible to solve that particular case using
> > <legend>Birthday</legend> in a fieldset.
>    Yeah, this is getting very close to <fieldset> territory. We should
>be careful about defining new markup just because we don't like the
>default styling in most browsers.


> > [form controls in tables]
>    Yeah, I can see use cases where the data is actually tabular in
>nature. I'm not sure, however, why the column header can't be used to
>label the group in this case:

Me neither.

>    Oops! Should read the whole message before replying. Yeah, I'm not
>sure screen readers would benefit from new markup when they don't take
>full advantage of old markup.

Indeed. The new markup also doesn't work in screen readers. There is no 
reason to believe that any new markup will be implemented before the old 
markup. I don't see why fieldset association isn't good enough for grouping 
related form controls, and why TH/TD relationship isn't good enough for form 
controls in tables. Let's have the ATs implement the old markup before (or 
instead of) inventing new stuff to do the same thing. (Also make <legend>s 
more CSS-friendly in graphical browsers so authors cal use it more.)


Simon Pieters

Ladda ner höstens sköna låtar! http://www.msn.se/music

More information about the whatwg mailing list