W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] Form Control Group Labels

From: Simon Pieters <zcorpan@hotmail.com>
Date: Thu, 02 Nov 2006 14:00:05 +0000
Message-ID: <BAY109-F1755BC36C2563DC2AE4A1FB4FF0@phx.gbl>

From: Matthew Raymond <mattraymond@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
Received on Thursday, 2 November 2006 06:00:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC