Simon Willison’s Weblog

Subscribe

Final table tip

5th July 2002

A final table tip from Mark: Providing a summary for tables. Mark explains the summary attribute which should be attached to every <table> tag to summarise the purpose of the table. Tables used for layout should include an empty summary attribute to show they are layout tables (in a similar way to empty alt tags for layout images). The summary attribute is only used by text to speech browsers, so I’m slightly confused as to why it should be included for layout tables—surely if the attribute is empty a speech browser will skip tstraight over it as if it wasn’t there?

This is Final table tip by Simon Willison, posted on 5th July 2002.

Next: &lt;strong&gt; and &lt;em&gt;

Previous: Stupid Danish newspapers

Previously hosted at http://simon.incutio.com/archive/2002/07/05/finalTableTip