w3c / aria-practices

WAI-ARIA Authoring Practices Guide (APG)
https://www.w3.org/wai/aria/apg/
Other
1.2k stars 333 forks source link

Clarification on aria-sort="none" #1192

Open zelliott opened 4 years ago

zelliott commented 4 years ago

Looking for some clarification on the usage of aria-sort="none".

I have a data table with a number of columns. Some of the columns are sortable, some are not sortable. For the column that is sortable and being sorted on, I add aria-sort="[ascending|descending] appropriately.

For the columns that are sortable but not being sorted on, should I add aria-sort="none"? Or should I omit aria-sort altogether?

The Data Grid Example page (https://www.w3.org/TR/wai-aria-practices/examples/grid/dataGrids.html) seems to imply that aria-sort="none" should be added "when a column is sortable but not sorted."

On the other hand, the W3C spec (https://www.w3.org/WAI/PF/aria/states_and_properties) states that each data table should only apply aria-sort to a single header at any given point in time.

Moreover, no SR (as far as I can tell) announces anything differently if a cell has aria-sort="none" vs. omits aria-sort.

Looking for some clarificiation here... thanks.

JAWS-test commented 4 years ago

Related: https://github.com/w3c/aria/issues/724 and https://github.com/w3c/aria/issues/582

Good would be:

kolaps33 commented 3 years ago

@JAWS-test please what is status of the workitem? is there plan to implement aria-sort?, like is described in the comment from Oct 3, 2019.

It would be great if JAWS could support it.

JAWS-test commented 3 years ago

@kolaps33 I am not from Freedom Scientific, I just work with JAWS on a daily basis. Therefore, I can't tell you when problems in JAWS will be fixed.