WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: using role="columnheader" instead of <th>

for

From: Birkir R. Gunnarsson
Date: Oct 27, 2021 10:47AM


I built a table entirely from ARIA roles and did some testing, worked
pretty well across multiple browsers/screen readers:
https://codepen.io/Wildebrew/pen/gBKdVb
I've used the rowheader role to repair tables without row headers for
years and it works very well, don't see why the columnheader role
wouldn't work just as well.
It may not be ideal, but sometimes we got to accept making the best
possible outcome, at least in the short-term.


On 10/27/21, David Engebretson Jr. < <EMAIL REMOVED> > wrote:
> So, from your response, I'm assuming you can't share an example?
>
> Peace,
> David
>
>
>