[whatwg] One label: multiple fields

2007-03-13 Thread Elliotte Harold
Currently in HTML 4, and apparently in Web Forms 2, there is a rule that each label element applies to exactly one input field. 10 inputs, at least 10 labels. However looking at a number of tabular but not exactly repeating forms, both on the Web and on paper, I notice that it common for the

Re: [whatwg] One label: multiple fields

2007-03-13 Thread Simon Pieters
On Tue, 13 Mar 2007 18:37:31 +0100, Elliotte Harold [EMAIL PROTECTED] wrote: Currently in HTML 4, and apparently in Web Forms 2, there is a rule that each label element applies to exactly one input field. 10 inputs, at least 10 labels. However looking at a number of tabular but not

Re: [whatwg] One label: multiple fields

2007-03-13 Thread Robert Brodrecht
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

Re: [whatwg] One label: multiple fields

2007-03-13 Thread Elliotte Harold
Robert Brodrecht wrote: 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?

Re: [whatwg] One label: multiple fields

2007-03-13 Thread Michel Fortin
Le 2007-03-13 à 13:37, Elliotte Harold a écrit : Homework 1 Homework 2 Homework 3 John Smith87 86 98 Jane Jones 100 78 98 Fred Wilde89 65 69 My opinion is that the table itself, given headers are properly marked up

Re: [whatwg] One label: multiple fields

2007-03-13 Thread Robert Brodrecht
Elliotte Harold wrote: Pretty much like it does now I suspect. When presenting the form control to a user, the software would assign it the label. It would just use the same label more than once. The for attribute is not new. What's being proposed is simply allowing it to identify

Re: [whatwg] One label: multiple fields

2007-03-13 Thread Edward O'Connor
Robert Brodrecht wrote: I think the main problem with multiple IDs for labels is the usability. How would it work and still make sense? Elliotte Harold replied: Pretty much like it does now I suspect. When presenting the form control to a user, the software would assign it the label. It

Re: [whatwg] One label: multiple fields

2007-03-13 Thread Jeff Cutsinger
Michel Fortin wrote: My opinion is that the table itself, given headers are properly marked up with th, provides enough information to make the labels unnecessary. I'll second this. Given that the table is marked up correctly (that is, using th and |scope| or equivalents), it should be usable

Re: [whatwg] One label: multiple fields

2007-03-13 Thread Mihai Sucan
Le Tue, 13 Mar 2007 19:37:31 +0200, Elliotte Harold [EMAIL PROTECTED] a écrit: However looking at a number of tabular but not exactly repeating forms, both on the Web and on paper, I notice that it common for the column headers to essentially serve as label for the input fields. For

Re: [whatwg] One label: multiple fields

2007-03-13 Thread Asbjørn Ulsberg
On Tue, 13 Mar 2007 18:37:31 +0100, Elliotte Harold [EMAIL PROTECTED] wrote: Homework 1 Homework 2 Homework 3 John Smith87 86 98 Jane Jones 100 78 98 Fred Wilde89 65 69 I'd mark this up as follows: table