W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2004

RE: anchors and Bobby

From: Jon Hanna <jon@hackcraft.net>
Date: Thu, 22 Jan 2004 10:38:12 +0000
Message-ID: <1074767892.400fa81426c01@>
To: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>

> [Jon Hanna]
> BTW. There is no need to use the <a> element when you are using
> id, you can put
> the id onto any element in the content.
> [Ricardo]
> Bobby doesn't report errors with "id" in elements, but we have
> the same problem with backwards compatibility. See:
> http://www.timon.com/bobby5.html

If maintaining backwards compatibility I'd personally prefer to use id on an
element surrounding the section in question, even if name was still used.

<p id="intro">
<a name="intro"></a>introductory paragraph.

To my mind this ties in the use of id as a target with other uses of id (e.g.
CSS or using the URI including the fragment the subject of an RDF statement).

Jon Hanna
*Thought provoking quote goes here*
Received on Thursday, 22 January 2004 05:42:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:27 UTC