W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2007

[whatwg] Proposal: Allow block content inside label element

From: Matthew Paul Thomas <mpt@myrealbox.com>
Date: Wed, 9 May 2007 13:27:35 +1200
Message-ID: <1ec37d1b13b3f87677b89c0f3a8edb5d@myrealbox.com>
On May 8, 2007, at 9:06 PM, Kristof Zelechovski wrote:
> ...
> From the behavioral point of view: The purpose of a LABEL control is to
> redirect focus on click.  It does not make much sense with a TEXTAREA
> control that is usually big enough to click upon.
> ...

If a browser redirects focus to a *text field* when you click its 
<label>, on a platform where that doesn't happen in native GUIs (e.g. 
Windows, Mac OS, Gnome, or KDE), that's a bug in the browser. Web Forms 
2 clarifies this.
<http://www.whatwg.org/specs/web-forms/current-work/#label>

Cheers
-- 
Matthew Paul Thomas
http://mpt.net.nz/
Received on Tuesday, 8 May 2007 18:27:35 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:55 UTC