New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IGT keyboard test Datatable (role=grid) issues #3985
Comments
Hi @dkdewitt 👋 Sorry, I don't fully understand the question. The disclaimer in the Table IGT that it does not support ARIA grids and tables is just referring to the fact that it requires tables be created using HTML The example on the home page for https://datatables.net/ looks like it is using HTML table elements, so it seems like it should be okay. Hopefully that helps. If not, could you elaborate on your question and/or provide a more specific example? |
@thuey I get the same issue when running the keyboard IGT tests on the example on the datatables homepage This is the generated header for the table |
@dkdewitt Thanks for the clarification. I understand your question now. The disclaimer in the Table IGT is unrelated to this. The The preferred approach for having an "interactive" table header is to make the child of the table header a button, which assistive technology will recognize as interactive. Here is an example from W3C: https://www.w3.org/WAI/ARIA/apg/patterns/table/examples/sortable-table/ |
@thuey I was thinking that may be an issue seeing the deque example had buttons. I'll check with the library maintainers to see if they have an option for this or let them know they may not be compliant currently. Linking datatables forum post for future references |
Product
axe-core
Question
IGT table tests state that
"The Table IGT does not currently support ARIA grids and tables (role="grid" and role="table")." when I run the Keyboard IGT it is failing for "The element's role is missing or is not appropriate for the element's function." on the table header. The th element and aria attributes are created within the library. Because the Table IGT does not support these aria grids and tables will that cause issues on the Keyboard IGT?
Library used for tables
https://datatables.net/
The text was updated successfully, but these errors were encountered: