W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2005

Re: additional label question

From: Christophe Strobbe <christophe.strobbe@esat.kuleuven.ac.be>
Date: Fri, 01 Apr 2005 19:45:59 +0200
Message-Id: <6.0.0.22.2.20050401193923.02e8f078@mailserv.esat.kuleuven.ac.be>
To: w3c-wai-ig@w3.org

Hi,

At 19:25 1/04/2005, you wrote:
>You can't associate multiple text boxes with the same label, to do it you
>have to put two equal id, and XHTML code wouldn't be valid..

Actually, the problem is not that you can't have two input elements with
the same id, but that the for attribute of the label element allows you
to reference only one ID instead of several (for DTD aficionados: "for" 
is of type IDREF instead of IDREFS).

Christope Strobbe


-- 
Christophe Strobbe
K.U.Leuven - Departement of Electrical Engineering - Research Group on  Document Architectures
Kasteelpark Arenberg 10 - 3001 Leuven-Heverlee - BELGIUM
tel: +32 16 32 85 51 
http://www.docarch.be/ 
Received on Friday, 1 April 2005 17:46:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:21 GMT