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

Re: correct use of tfoot

From: Christopher Hoffman <christopher.a.hoffman@gmail.com>
Date: Sat, 2 Dec 2006 11:00:23 -0500
Message-ID: <61682a40612020800g368c29eck7f2fdde369908369@mail.gmail.com>
To: "David Woolley" <david@djwhome.demon.co.uk>
Cc: w3c-wai-ig@w3.org
On 12/1/06, David Woolley <david@djwhome.demon.co.uk> wrote:
> >   <tfoot>
> >     <tr>
> >       <th></th>
> >       <th>{total Sales figure}</th>
> I think that would be a misuse of tfoot, because tfoot is a running
> footer which can appear on multiple pages.

In that case it would actually be a suitable place for a footnote relating
to a column heading, as Antony suggested in Question #2. For example:

  <tr><th>County</th> <th>Population <sup>*</sup></th></tr>
[tbody goes here]
 <tr><td><sup>*</sup>based on 2004 census data</td></tr>

I suppose the same information could be put in a @title for the th, but
putting it in the tfoot would be better for those with user agents that
don't automatically render @titles: for example if I've printed the table
and am flipping through the pages on the bus.

There also doesn't seem to be any reason that thead can't have multiple
rows, the first repeating the headings in the thead, and the subsequent ones
containing annotations.

Received on Saturday, 2 December 2006 16:00:33 UTC

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