WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: JAWS not supporting aria-sort="none"

for

From: Peter Weil
Date: Dec 19, 2022 8:53AM


This is the best writeup I've seen about sortable table columns:

https://adrianroselli.com/2021/04/sortable-table-columns.html

It says:

"If your column is not sorted, instead of using aria-sort="none" remove the attribute instead."

> On Dec 19, 2022, at 9:22 AM, Sailesh Panchang < <EMAIL REMOVED> > wrote:
>
> Simply drop the aria-sort property for the column if it is not
> sorted. Check if that works.
> Thanks,
> On 12/19/22, megha patangi < <EMAIL REMOVED> > wrote:
>> Hi Web Aim team,
>>
>> There is a scenario where we have three states of sorting on table
>> column headers.
>> 1. sort ascending
>> 2. Sort descending
>> 3. Sort none
>>
>> The first two are rendered properly by screen reader, but as soon we
>> click and aria-sort="none" is passed, JAWS announces "sorted" which is
>> incorrect. Rather it should announce "unsorted".
>> Same is observed with all latest versions of JAWS.
>>
>> Any idea about it?
>> Any way to handle it, or it can be reported as non-compatibility of
>> aria state with screen readers?
>>
>> Regards,
>> Megha
>> >> >> >> >>
>
>
> --
> Sailesh Panchang
> Customer Success Strategist and Principal Accessibility Consultant
> Deque Systems Inc
> 381 Elden Street, Suite 2000, Herndon,
> VA 20170
> Mobile: 571-344-1765
> > > >