[whatwg] Form controls inside a label but not labelled by it
Ian Hickson
ian at hixie.ch
Mon Feb 6 15:31:45 PST 2012
On Sun, 15 Jan 2012, Mounir Lamouri wrote:
>
> I agree that Opera/IE behavior is better to solve this case but it
> doesn't help for this one: <label><input type='radio'><input></label>
> And it seems that web authors tend to write that and expect the radio to
> be checked when the text field is focused based on the bug reports we
> had.
>
> Between two use cases I think the second is more important because the
> authors are more likely to have write something they meant to write.
I don't really understand why you'd use <label> for that case. There's no
label, just two controls.
All in all I'm not at all convinced this is something we should encourage.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list