The issue of 'aria-label' description on head columns in only server-side pagination.

The issue of 'aria-label' description on head columns in only server-side pagination.

leedc123leedc123 Posts: 5Questions: 0Answers: 0
edited September 2013 in DataTables 1.9
Hi,

First of all, thanks for a great jquery table grid plugin to support user accessibility.
However, we are facing the user accessibility issue in terms of sorting head columns in server side processing.
For example, after initializing datatable and clicking a certain head column to sort ascending or descending, the screen reader (e.g. JAWS) reads only ascending description on the column.

I guess, the reason is that in server-side pagination, whenever we click head column to sort, only 'ascending description' is set to 'aria-label' in all head columns whereas client-side processed datatable works properly though.

We can see this in this example below as well:

http://datatables.net/examples/data_sources/server_side.html

If you look at the 'aria-label' attribute on head columns in above example, it is always set to 'Browser: activate to sort column ascending' whenever you click a head column to sort.
I am wondering whether or not it is a bug, or am I wrong?

I am working in the government project at the moment so that it is a bit issue regarding user accessibility.
Thus, I need to solve this problem anyway.
Thanks in advance.

Replies

  • leedc123leedc123 Posts: 5Questions: 0Answers: 0
    Sorry forgot to put the version of datatable that we are using at the moment. We upgraded to the lastest version. (datatable 1.9.4-2)
    Thanks.
  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    Defiantly a bug - could you try it with 1.10, as per the the thread please? This should be resolved there.

    Thanks,
    Allan
  • leedc123leedc123 Posts: 5Questions: 0Answers: 0
    I have checked 1.10 version of datatable and the issue above has been fixed.
    Thanks for a quick reply and your contribution.
  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    Excellent to hear - thanks for the feedback!

    Allan
This discussion has been closed.