[whatwg] Form controls inside a label but not labelled by it

Aryeh Gregor Simetrical+w3c at gmail.com
Sun Jun 5 12:27:49 PDT 2011


On Fri, Jun 3, 2011 at 6:57 PM, Ian Hickson <ian at hixie.ch> wrote:
> I've added equivalent text back. It describes the Opera/IE behaviour;
> could you elaborate on why the WebKit behaviour is better?
>
> Authors can emulate the WebKit behaviour if they really want it by just
> calling .click() on the element they want to have activated when the
> target is focused.

Things like radio buttons and checkboxes are small, and hard targets
to hit with a mouse.  It's much nicer to be able to be able to click
anywhere in the whole label.  It requires less effort.



More information about the whatwg mailing list