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
aria-sort recommendation to have it only on ONE header #582
Comments
At the risk of spawning a discussion (somewhat) beyond the scope of the opening report and (definitely) beyond the scope of ARIA 1.1: I'm not sure we want to restrict sorting to only one header. Spreadsheets and other interactive tables in native/desktop apps allow for multiple sort columns; why should web apps be any different? |
Was just going to say the same thing. Ordering a table by multiple columns in sequence is not uncommon at all (and used by most spreadsheet programs). Having said that, is there any screenreader that supports keeping track of the sort state of a table that way ? I guess you could have a live region or something pronounce the current order: "Table 1, 8 columns 200 rows, is ordered by column 2 ascending, column 3 descending" then when you order by column 6: "Table 1, 8 columns 200 rows, is ordered by column 2 ascending, column 3 descending, column 6 ascending" |
It would also be nice to have an |
Discussed in https://www.w3.org/2018/11/29-aria-minutes.html |
Reading through the minutes. Should this get a 1.3 label? |
It has a 1.3 Milestone already - we don't use labels for release tracking. |
Can W3C provide any guidance on the referenced question above? (w3c/aria-practices#1192) |
This sentence on aria-sort is a bit confusing.
It seems its saying add the attribute when the column is sorted and remove it completely if another column is sorted. I think that is a strange request. Usually in aria we swap out values rather than remove the whole attribute when things change. Perhaps say something like this:
For each table or grid, authors should apply only one of the following at a time
aria-sort="ascending"
aria-sort="descending"
aria-sort="other"
The remaining headers should either have
aria-sort="none"
or should not have the attribute.The text was updated successfully, but these errors were encountered: