WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Using Aria within a table to indicate that a cell is highlighted

for

From: David Engebretson Jr.
Date: Jul 4, 2022 11:57AM


Good points regarding folks who are color blind and don't use screen readers.

From a screen reader user perspective, I was wondering if adding a heading to the <td> that is highlighted would work. For example, if the <table> is at heading level 2 then the <td> of that <table> that is highlighted could be at heading level 3. Seems like it could be a quick way for screen reader users to quickly jump to the highlighted cell.

For keyboard only users, maybe it could have an empty <a> tag so they could press tab to bring focus to the highlighted <td>? That way, if they are color-blind, and don't use a screen reader, their browser user settings would take effect.

Thoughts?
David