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

Re: Calendar markup - review please?

From: Martin Stehle <m.stehle@aperto.de>
Date: Thu, 28 Oct 2004 17:39:11 +0200
Message-ID: <1571999899.20041028173911@aperto.de>
To: w3c-wai-ig@w3.org

Hello Marjolein,

> How would *you* mark up a calendar?

I would use a data table of course. For your calendar on your travel
site I recommend:
* Month's name as CAPTION. This means also means:
* taking the pre-month and next-month links out of the table
  structure, e.g. under the table.
* In your table the first line are the the week days. You wrote them
  in a short form. I would add ABBR tags to them so a screen reader
  user can hear their meanings. In this case I recommend using the
  abbr-Attribut for the TH for the opposite purpose: to expand the
  short terms. Further step: Put them in THEAD.
* The rest as TDs in one TBODY as you did.

I do not use axis yet because AFAIK it is not supported by any device.
But they are not wrong in your code.

Some code reduction is possible, e.g. the heavy use of the class
attribute is IMHO not necessary because a context is already there and
context selectors could be used.

Greetings from Germany.
Received on Thursday, 28 October 2004 15:39:13 UTC

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