[whatwg] Proposal: Allow block content inside label element

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