Smart-Table icon indicating copy to clipboard operation
Smart-Table copied to clipboard

aria-sort order is wrong

Open omkarbandkar opened this issue 6 years ago • 0 comments

the aria-sort value is set to descending even when ascending sort is applied and vice-versa.

In file stSort.js on line number 90 .attr(ariaSort, newValue.reverse ? ariaSortAscending : ariaSortDescending); should be changed to .attr(ariaSort, newValue.reverse ? ariaSortDescending : ariaSortAscending );

since reverse indicated descending order, when reverse is true descending label should be shown

omkarbandkar avatar Jan 09 '19 12:01 omkarbandkar