WebAIM - Web Accessibility In Mind

E-mail List Archives

Thoughts on using role group versus role table for simple sortable data table

for

From: Mohith BP
Date: Mar 16, 2021 4:42AM


Hi All,

I remember there were some issues with the role='table' with browser /
screen reader combinations.
I have verified with the latest NVDA 2020.4 and JAWS 2021 Feb update
with Latest Chrome, Firefox and Edge.
The support is consistent.

Is it safe to assume role='table' can be used instead of role='grid?
Are there any known issues with the role='table' on mobile screen
readers? significant

Example Implementation can be found on:
https://www.w3.org/TR/wai-aria-practices-1.1/examples/table/table.html

Note: I am aware that the role='grid' is used for interactive grid not
for the data table. However, in various accessibility remediation
projects HTML <table> could not implemented as many projects used some
sort of libraries which developers did not have much control. This
prompted many to use role='grid' to provide semantic information to
the data table.


Thanks & Regards,
Mohith BP