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

LABEL in Techniques

From: Nir Dagan <nir@nirdagan.com>
Date: Mon, 09 Nov 1998 01:27:48 GMT
Message-Id: <199811081617.RAA02537@sahara.upf.es>
To: w3c-wai-gl@w3.org
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)


"There is nothing quite so practical as a good theory." 
-- A. Einstein
Received on Sunday, 8 November 1998 11:26:39 UTC

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