WebAIM - Web Accessibility In Mind

E-mail List Archives

Tables for layout

for

From: Sharon Daniels
Date: Mar 19, 2002 7:30AM


If you are using a table for layout, are you supposed to have a table header
at all? The way this reads it sounds as if you wouldn't even use a table
header.

5.4 If a table is used for layout, do not use any structural markup for the
purpose of visual formatting. [Priority 2]
For example, in HTML do not use the TH element to cause the content of a
(non-table header) cell to be displayed centered and in bold.

Also, when using tables to create a layout, do not use structural markup to
create visual formatting. For example, the TH (table header) element, is
usually displayed visually as centered, and bold. If a cell is not actually
a header for a row or column of data, use style sheets or formatting
attributes of the element.

Say you just had one table that had 3 cells. One for email address, one for
name, and one for a submit button. Isn't it appropriate to not have a table
header on that kind of table?


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/