W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2003

RE: Tables & Anchors Question

From: Joe Clark <joeclark@joeclark.org>
Date: Wed, 22 Oct 2003 08:37:57 -0400 (EDT)
To: WAI-IG <w3c-wai-ig@w3.org>
Message-ID: <Pine.BSO.4.53.0310220833530.12959@mail.veldt.ca>

> Tried adding an ID to the tables themselves and
> having the relative links point to those, but to no avail. It looks like
> the anchors need to be just before the tables in order for the summary
> to be read out.

That would be nonstandard behaviour, since in XHTML 1.0 the _id_ attribute
can be applied to anything (in 1.1, apparently, you can't put _id_ on
<html> itself). Every element can be an anchor.

<http://fawny.org/blog/2003/07/?WAI-IG#id-h1>
<http://www.annevankesteren.nl/archives/2003/10/08/styling-the-html-element>


> > <a name="table1"></a>
> > <table border="1" cellspacing="0"

Just do <table id="table1"> and wait for screen readers to comply with
standard HTML. Placing an anchor link as seen here is not wrong, but it is
less "semantic," as they say.

--

  Joe Clark  |  joeclark@joeclark.org
  Author, _Building Accessible Websites_
  <http://joeclark.org/access/> | <http://joeclark.org/book/>
Received on Wednesday, 22 October 2003 08:37:26 GMT

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