[whatwg] LABEL and radio/checkbox onclick
ian at hixie.ch
Tue Aug 17 17:00:36 PDT 2004
On Wed, 21 Jul 2004, Matthew Raymond wrote:
> > >
> > > Semantically, labels should *always* have connection so some control --
> > Sure, but this cannot always be reflected in HTML. The most common example
> > would be a heading <label> for a set of radio buttons
> This is invalid markup.
Indeed; a <fieldset> would be more appropriate there.
According to WF2, if a label contains more than one control, it is only
associated with the first control.
> > (for which <fieldset> would usually be inappropriate).
I don't really see why. It's a set of fields.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg