aria-sort attribute | ariaSort property
Indicates whether items in a table or grid are sorted in ascending or descending order.
![]() |
Syntax
<element aria-sort="ascending|descending|none|other" ... />
Property values
Type: DOMString
One of the following values:
Standards information
- Accessible Rich Internet Applications (WAI-ARIA) 1.0, Section 6.6
Remarks
| Used in Roles |
|
|---|
For each table or grid, you should apply aria-sort to only one header at a time.
See also
Show:
