W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2004

RE: [html-techs] Table Type

From: John M Slatin <john_slatin@austin.utexas.edu>
Date: Tue, 10 Feb 2004 10:13:52 -0600
Message-ID: <C46A1118E0262B47BD5C202DA2490D1A0183AA10@MAIL02.austin.utexas.edu>
To: "Yvette P. Hoitink" <y.p.hoitink@heritas.nl>, "Chris Ridpath" <chris.ridpath@utoronto.ca>, "WAI WCAG List" <w3c-wai-gl@w3.org>

Maybe Yvette has hit upon another test for distinguishing layout tables
from data tables:

If the same effect could be achieved using CSS, it's a layout table.



"Good design is accessible design." 
Please note our new name and URL!
John Slatin, Ph.D.
Director, Accessibility Institute
University of Texas at Austin
FAC 248C
1 University Station G9600
Austin, TX 78712
ph 512-495-4288, f 512-495-4524
email jslatin@mail.utexas.edu
web http://www.utexas.edu/research/accessibility/


-----Original Message-----
From: w3c-wai-gl-request@w3.org [mailto:w3c-wai-gl-request@w3.org] On
Behalf Of Yvette P. Hoitink
Sent: Tuesday, February 10, 2004 9:46 am
To: 'Chris Ridpath'; 'WAI WCAG List'
Subject: RE: [html-techs] Table Type


> How to determine if a table is data or layout:
> Discussed at length on this mailing list[2][3][4] etc.
> In summary - If cells can be moved without affecting their
> intrinsic meaning then it's a layout table. Corollary - If 
> moving a cell affects its intrinsic meaning then it's a data table.

Sorry to open this cesspit again, but I really think tables used for
are layout tables, even if moving a cell can affect its intrinsic
There will always be grey areas: tables used for layout that might
from semantic markup. But does that make them data tables?

Hypothetical example: If I have have a 2x2 (layout) table to divide my
in two rows with headers to the left in separate cells, exchanging those
cells can affect their intrinsic meaning as well because those texts are
associated with different headings. Does that make it a data table? I
think so. The table has no benefit here besides the visual aspect, the
effect could be achieved through CSS. I see no value in using the
markup for data tables here so to me this is definitely a layout table
if it fits your definition. 

A more interesting example is if you use a table to do the layout of a
(labels in column 1, inputs in column 2) Moving a cell changes its
meaning so it fits your definition of a data table, a viewpoint shared
Jim Thatcher [1].

I still think of this as a layout table though, but I can see the value
associating headers with the cells. From a practical point of view it
may be
very helpful to use the semantic markup for data tables in tables used
layout forms, but on a principal level I do not regard tables used for
layout as data tables. 

An example of a search form which would benefit from more semantic
for the table can be found in a Dutch genealogical website:
http://www.genlias.nl. I can't give you a direct link to the search
page, so
please select English (top right corner) -> Searching the Genlias
(text above the looking glass). 

This search form consists of three columns: column one has the labels,
column two has the inputs for the first person you're looking for and
three has the inputs for the second person you're looking for. The
of an input is derived from two axis: the label and the person.
the labels correctly with their inputs in HTML is not possible in this
since HTML only allows one input per label. The authors have used <th>
indicate the column headers, but no other semantic markup.  

Yvette Hoitink
CEO Heritas, Enschede, The Netherlands
E-mail: y.p.hoitink@heritas.nl

[1] Jim Thatcher argues tables to layout forms are data tables:
Received on Tuesday, 10 February 2004 11:14:36 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 21:07:33 UTC