use cases for <label>

Hi all,

are there any uses cases for the <label> element[1] that does not label a
control?

example:

<label>name</label> <input type="text">

in the case above the label element is not associated with the input using
for/id or via wrapping.

It does not appear to do anything, so why should it be conforming?  would
it be helpful to authors/users if this was flagged as an error

I have a use case for use of an additional secondary label associated using
aria-describedby:

 primary label = accessible name, auxiliary label = accessible description

<p><label>name <input type"text" aria-describedby="instructions"></label></p>

<p><label id="instructions">last name only please</label></p>


https://gist.github.com/stevefaulkner/5935190

is the above a reasonable use case?

[1]
http://www.w3.org/html/wg/drafts/html/master/forms.html#the-label-element
--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>

Received on Saturday, 6 July 2013 08:05:36 UTC