W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 1998

Re: LABEL in Techniques

From: nir dagan <dagan@upf.es>
Date: Mon, 9 Nov 98 11:18:15 MET
Message-Id: <199811091018.LAA17467@sahara.upf.es>
To: asgilman@access.digex.net
Cc: w3c-wai-gl@w3.org
> I think this version has been tacitly emphasized because of 
> what is implemented already in browsers.
> Al

I see. I think that for the long run it is better to 
show that using LABEL is very simple, if you don't use tables
for layout. This way you'll get many more accessible forms 
in the long-run.

Instead of telling people: "look, if you don't use TABLEs for layout 
it is very easy to add LABELs to your forms; just wrap the control 
and its label with the LABEL tags, but if you insist using tables 
then you'll also need to write for and id", you're saying: "to write 
accessible pages you should work around what the WAI's favorite 
browser does not support."

Also the method of "place holding characters" in text 
fields ("type your name here") is not that good as it 
reduces usability. The user wastes time deleting these 
characters when filling the form. Now that we have LABEL 
we can abandon this usability reducing technique.


> to follow up on what Nir Dagan said:
> > Concerning the techniques doc.
> > 
> > In 2.12.2 the example uses LABEL with 
> > for and id attributes where it is possible to 
> > simplify and include the INPUT as content 
> > of LABEL and forget about the for and id stuff.
> > 
> > Maybe it would be better to give both possibilities 
> > in examples.
> > 
> > In 2.12.3 it says you should use the for attribute. 
> > I can't see why. If there is one INPUT in a LABEL, 
> > as the HTML4.0 spec. requires explicitly,
> > there is no ambiguity. What's wrong with the HTML4.0 spec.?  
> > One should use "for" in my opinion, only when it is impossible 
> > to put the INPUT inside the LABEL (if they are in different table 
> > cells for example).
> > 
> > Also I didn't get the idea behind writing the control 
> > and its label in the same line when "for" is not used. 
> > I am unfamiliar with a "line" concept in HTML.
> > 
> > Nir Dagan                            
> > Assistant Professor of Economics      
> > Universidad Pompeu Fabra
> > Barcelona (Spain)
> > 
> > http://www.nirdagan.com
> > mailto:nir@nirdagan.com
> > 
> > "There is nothing quite so practical as a good theory." 
> > -- A. Einstein
> > 
Received on Monday, 9 November 1998 05:28:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:33:28 UTC