E-mail List Archives
Re: thead th and scope="col" and "row"
From: Birkir R. Gunnarsson
Date: Aug 16, 2021 12:46PM
- Next message: Don Mauck: "Re: thead th and scope="col" and "row""
- Previous message: Jonathan Avila: "Re: thead th and scope="col" and "row""
- Next message in Thread: Don Mauck: "Re: thead th and scope="col" and "row""
- Previous message in Thread: Jonathan Avila: "Re: thead th and scope="col" and "row""
- View all messages in this Thread
<th> cells used at the edge of the table are automatically assigned
scope by the browser ("col" if they are in the top row, "row" of they
are in the first column).
I can go dig this up in the HTML5 spec for tables. There's also a
reference to this somewhere in the WCAG 1.3.1 HTML techniques for
tables.
If you add a <th> cell anywhere else in the table, not in top row or
first column, then you need to add a scope attribute.
On 8/16/21, Jonathan Avila < <EMAIL REMOVED> > wrote:
> The WAI tutorials show an example of where TH can be used without scope in
> specific cases.
> https://www.w3.org/WAI/tutorials/tables/one-header/
>
> Jonathan
>
>
- Next message: Don Mauck: "Re: thead th and scope="col" and "row""
- Previous message: Jonathan Avila: "Re: thead th and scope="col" and "row""
- Next message in Thread: Don Mauck: "Re: thead th and scope="col" and "row""
- Previous message in Thread: Jonathan Avila: "Re: thead th and scope="col" and "row""
- View all messages in this Thread