Skip to content

aria-sort order is wrong #844

@omkarbandkar

Description

@omkarbandkar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions