aria-sort attribute | ariaSort property

[This documentation is preliminary and is subject to change.]

Indicates whether items in a table or grid are sorted in ascending or descending order.

Internet Explorer 10

Syntax

HTML
<element aria-sort="ascending|descending|none|other" ... />

Property values

Type: DOMString

One of the following values:

Value Condition
ascending

Items are sorted in ascending order by this column.

descending

Items are sorted in descending order by this column.

none

There is no defined sort applied to the column.

other

A sort algorithm other than ascending or descending has been applied.

 

Standards information

Remarks

Used in Roles
columnheader
rowheader

 

For each table or grid, you should apply aria-sort to only one header at a time.

See also

Accessible Rich Internet Applications (ARIA)

 

 

Send comments about this topic to Microsoft

Build date: 7/24/2012