WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Complex tables: Scope AND id and header attributes

for

From: Jonathan Avila
Date: Oct 27, 2015 8:25AM


> I would avoid headers/id by now (in html), it is being sunsetted

Birkir, can you please provide a link(s) indicating where this technique is being sunsetted?

> Also, you can no longer use the scope attribute on td cells, you must use them on header (th or td with role="columnheader" or "rowheader") cells.

While this may be true for HTML conformance -- I have not seen these as a documented failure under WCAg.

> and its support by assistive technologies is no better than that of the replacement techniques.

I'm not sure I agree. There are many situations where a table contains multiple column headers but only certain column headers apply to a cell in that column -- not all column headers. In these examples colgroup is not sufficient IMO. In these cases you need id and headers -- that's why the practice could not be sunsetted AFAIK. Examples are in the WCAG table tutorial.

http://www.w3.org/WAI/tutorials/tables/multi-level/

Jonathan

-- 
Jonathan Avila 
Chief Accessibility Officer
SSB BART Group 
<EMAIL REMOVED>
Phone 703.637.8957  
Follow us: Facebook | Twitter | LinkedIn | Blog | Newsletter