WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: thead th and scope="col" and "row"

for

From: Birkir R. Gunnarsson
Date: Aug 17, 2021 5:31PM


Here is the HTML5 spec:
https://www.w3.org/TR/2014/REC-html5-20141028/tabular-data.html
(look for the definition of how browsers handle scope="auto" i.e. no
scope attribute).
The formula is not coded accessibly so I can't be 100% sure but my
understanding is that the auto scope attribute will affect all cells
below the header cell (if it is a column) or to the right of the
header cell (if it is a row).
If you have a cell that is not in the first row or first column you
should always explicitly define the scope of the cell, else you could
end up with incorrect or at least inconsistent results.


On 8/17/21, Schulz, Leslie via WebAIM-Forum
< <EMAIL REMOVED> > wrote:
> Thank you for your helpful replies.
>
> I will look into the HTML5 specifications.
>
> I also appreciate this link
> https://www.w3.org/WAI/tutorials/tables/one-header/ from Jon Avila.
>
> W3C does offer examples of not using the scope attribute in simple tables.
>
> Thank you all for your help!
>
> Leslie
>
>