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

[whatwg] One label: multiple fields

From: Robert Brodrecht <whatwg@robertdot.org>
Date: Tue, 13 Mar 2007 12:26:31 -0600 (CST)
Message-ID: <50564.>

Elliotte Harold wrote:
> What strikes me about examples like this is that the labels for the
> input fields naturally apply to more than one input field.

I think the main problem with multiple IDs for labels is the usability. 
How would it work and still make sense?

You could, instead, have <label><input type="text" value="82"  title="John
Smith's Home Work 1"></label>, etc.  Assuming research[1] is correct, this
ought to work.  I had originally put the title on the label, but the link
I provided suggests it wouldn't be read.

Also combining that with proper table markup should allow for an
accessible solution for both assistive technologies and sighted users.

[1] http://www.sf.id.au/WE05/forms.html
Robert <http://robertdot.org>
Received on Tuesday, 13 March 2007 11:26:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:33 UTC