W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2011

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

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Sun, 5 Jun 2011 15:27:49 -0400
Message-ID: <BANLkTinE7Bvs6gMLZjKNd084ACeLqKX=PA@mail.gmail.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:33 UTC