Re: Accessible forms in XHTML

"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 UTC