W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2002

Re: Accessible forms in XHTML

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Wed, 17 Jul 2002 18:47:00 +0900 (JST)
Message-Id: <20020717.184700.104026708.mimasa@w3.org>
To: andrew.johns@jkd.co.uk
Cc: w3c-wai-ig@w3.org

"Andrew Johns" <andrew.johns@jkd.co.uk> wrote:

> On researching information for what makes a form more accessible, I came across many examples of <label> tags, whereby an id and name are both set, but usually different.
> 
> an example being:
> 
> <label for="label">A label:</label><input type="text" id="label" name="txt">
> 
> from my understanding of XHTML, the name attribute is being dropped in favour of the id tag.

Not really.  The name attribute on a, applet, form, frame, iframe, img,
and map are deprecated in XHTML 1.0 and dropped from XHTML 1.1, but
the name attribute on input and others are not.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Wednesday, 17 July 2002 05:47:02 GMT

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