W3C home > Mailing lists > Public > public-html@w3.org > January 2008

Re: Header cell in top left of data tables

From: Olivier GENDRIN <olivier.gendrin@gmail.com>
Date: Mon, 28 Jan 2008 14:42:37 +0100
Message-ID: <e2c275120801280542i45036ac9w8645cdb2b6a4e9f7@mail.gmail.com>
To: "public-html@w3.org WG" <public-html@w3.org>

On Jan 28, 2008 2:13 PM, Ben Boyle <benjamins.boyle@gmail.com> wrote:
> I meant literally <th scope="row">Time</th>
>
> But using <time> within the other headings sounds like a good plan:
> <th scope="col"><time datetime="2008-01-28 22:00:00 +10">10 pm</time></th>
>
> Interesting alternative to th@abbr, although this is a very specific example.
>
> Is that what you had in mind?

No, I meant something totally different (I realize that I made a
mistake using <time>, we may need a new tag here, I'll use <meter> for
example).

Suppose that your TV program is precise to the minute (i.e. you have a
show starting at 8.32 pm). You need a table with 1440 (24*60) rows,
and you will need a bunch of colspan for every show.

It would be much more easy with (accessibility feature id/headers not
show but needed) :
<table summary="Table summary">
  <caption>TV guide</caption>
  <thead>
    <tr>
      <th>time</th>
      <th>Channel One</th>
      [...]
    </tr>
  </thead>
  <tside>
    <meter min="2008-01-28 00:00" max="2008-01-28 23:59">
  </tside>
  <tbody>
    <tc>
      <td start="11:30" end="11:52">Weather</td>
    </tc>
  </tbody>
</table>

So a <tc> (table column) tag would be needed also...

Wonder if I'm clear enough...

-- 
Olivier G.
http://www.lespacedunmatin.info/blog/
Received on Monday, 28 January 2008 13:42:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:12 GMT