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: <>
To: w3c-wai-ig@w3.org


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 
Received on Friday, 1 April 2005 17:46:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:25 UTC