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

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.

Received on Sunday, 5 June 2011 12:27:49 UTC