Saturday 06 July 2002

Accessibility tip 15: Provide table summaries

The last task in making the calendar accessible is providing a summary of the table for screen readers and speech browsers. Mark Pilgrim suggests “Monthly calendar with links to each day’s posts” as appropriate summary text and that’s what I added.

However, a check of the calendar links revealed a problem: the link associated with each day did not point to the posts for that day but to an individual post made on that day. In other words, the link for Friday 5 July was:

instead of the expected:

This was because I have my Preferred Archive Type set to Individual (so that by default my permalinks to point to individual entries). I needed to modify the MT link code from:

<a href="<$MTEntryLink$>"><$MTCalendarDay$></a>


<a href="<$MTEntryLink archive_type="Daily"$>">

So now the table summary not only exists, it’s accurate too.

And while I was making these changes to the Main Index template, I updated my blogroll entry to point to Euan Semple’s new MT-based weblog. It’s at The stopwatch is on, Euan. Let’s see how long it will take you to customize your templates and style sheets.



Ooooh the pressure....

It's 01.46 here and the red wine's having its effect....and I'm playing a gig tomorrow...and ......

Posted by: The Obvious? on 6 July 2002 at 10:47 AM

Hey, don't sweat it. It's a low priority item. Tune in next week for the high-powered important stuff.

Posted by: Mark Pilgrim on 6 July 2002 at 11:28 AM

"Don't just do something - stand there"

I know...... but it's so hard to do.... ( or not to do)

Posted by: The Obvious? on 6 July 2002 at 11:31 AM

To do...or not to do....

Excuse me, but what was the question?

Posted by: Burningbird on 6 July 2002 at 01:31 PM

Whether to leap in and start tweaking templates or not.

The answer is not for a bit!

Posted by: The Obvious? on 6 July 2002 at 09:05 PM

Damn - finally got round to working in the template and as soon as I tried to acces master template I got

Posted by: The Obvious? on 7 July 2002 at 05:13 PM

"as soon as I tried to acces master template I got..."

Seems like the red wine might still be exerting an influence.

Posted by: Jonathon Delacour on 7 July 2002 at 07:47 PM


Problem sorted anyway - thanks.

Posted by: The Obvious? on 8 July 2002 at 06:17 AM

This discussion is now closed. My thanks to everyone who contributed.

© Copyright 2002-2003 Jonathon Delacour