jQuery-Accessible-RIA icon indicating copy to clipboard operation
jQuery-Accessible-RIA copied to clipboard

table sorting alphabetic ascending and descending swapped

Open zomigi opened this issue 12 years ago • 3 comments

It appears that the table sorting script has ascending and descending swapped on alphabetic columns. Example steps to reproduce:

  1. Go to http://fnagel.github.io/jQuery-Accessible-RIA/Table/performance.html
  2. Hover over column 0 heading. You'll see "sort ascending" in the tooltip.
  3. Click on column 0 heading.

Actual result: Content is ordered from Z to A (ie, words starting with Z are at the top), which is descending order.

Expected result: Content is ordered from A to Z, ascending order.

This doesn't seem to be a problem with the numeric sorting, only alphabetic.

zomigi avatar Jun 24 '13 18:06 zomigi

Bug confirmed. I'm working on a solution...

fnagel avatar Sep 05 '13 19:09 fnagel

This problem affects ARIA attributes too.

fnagel avatar Sep 05 '13 19:09 fnagel

Issue should be fixed. Please test and give feedback.

fnagel avatar Sep 05 '13 20:09 fnagel