E-mail List Archives
Re: Use of the scope attribute with TH elements
From: Olaf Drümmer
Date: Jan 27, 2014 6:22AM
- Next message: Jennifer Sutton: "Specification for an accessible video/media player | Coolfields Consulting"
- Previous message: Liko, Todd: "Use of the scope attribute with TH elements"
- Next message in Thread: Liko, Todd: "Re: Use of the scope attribute with TH elements"
- Previous message in Thread: Liko, Todd: "Use of the scope attribute with TH elements"
- View all messages in this Thread
Hi Todd
On 27 Jan 2014, at 14:02, "Liko, Todd" < <EMAIL REMOVED> > wrote:
> My question is about the use of the scope attribute with the TH elements.
here is my take (which I actually consider supported by HTML 4, HTML 5 and WCAG 2):
- keep simple tables simple; if simple tables either have only one row of column headers in their top row, or one column of row headers in their first column, it is almost impossible to interpret this structure in the wrong fashion; Scope attributes could not add any information; the same would also apply where there are two or even three top levels of header cells at the top or left.
- there is a class of still relatively simple tables, that have headers in the first column and in the first row; some of these have the upper left corner cell unused (i.e. it is not a TH cell), but others do use it as a TH cell, to serve as a header in the horizontal or vertical direction; in that case - and only in that case - the Scope attribute is valuable, as it can indicate what the scope of that TH cell is; as far as I can tell that is the only instance where the Scope attribute can be really useful
- finally there are those tables that are not so simple - they have nested use of TH cells in vertical and horizontal direction, they have TH cells not only at the beginning of the table rows or columns, but rather somewhere in the middle; in almost all such cases the Headers attribute will have to be used, for all cells that have a header cell associated with them, to indicate which header cells to associate with a given cell.
Note: where I am using words like top or left, this is based on tables in the Western writing mode (left to right, top to bottom).
Olaf
- Next message: Jennifer Sutton: "Specification for an accessible video/media player | Coolfields Consulting"
- Previous message: Liko, Todd: "Use of the scope attribute with TH elements"
- Next message in Thread: Liko, Todd: "Re: Use of the scope attribute with TH elements"
- Previous message in Thread: Liko, Todd: "Use of the scope attribute with TH elements"
- View all messages in this Thread