WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: jeffgutsell
Date: Jul 5, 2022 12:25PM


In addition to using the aria on the table cell, how about also using that attribute as a CSS selector to aid low vision users who do not have screen readers?
What I am imagining would look like:
td[aria-current=value] {
outline: medium;
... other properties ...
}
Of course, my placeholder word "value" would actually use something else according to the needs of the project.
I hope my suggestion does not duplicate what someone else already has posted and I missed it.

Jeff Gutsell