Skip to content

Commit 7959374

Browse files
committed
Update documentation for sortAscending and sortDescending ARIA strings
1 parent d8861f4 commit 7959374

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/option/language.aria.sortAscending.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<description>
1111
ARIA label that is added to the table headers when the column may be sorted ascending by activating the column (click or return when focused).
1212

13-
Note that the column header text is prefixed to this string.
13+
The variable _HEADER_ is replaced by the column header. If not present, the column header is prefixed to this string.
1414
</description>
1515

1616
<example title="Set ARIA sort ascending string"><![CDATA[
1717
$('#example').dataTable( {
1818
"language": {
1919
"aria": {
20-
"sortAscending": " - click/return to sort ascending"
20+
"sortAscending": "click to sort by _HEADER_ ascending"
2121
}
2222
}
2323
} );

docs/option/language.aria.sortDescending.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<description>
1111
ARIA label that is added to the table headers when the column may be sorted descending by activing the column (click or return when focused).
1212

13-
Note that the column header text is prefixed to this string.
13+
The variable _HEADER_ is replaced by the column header. If not present, the column header is prefixed to this string.
1414
</description>
1515

1616
<example title="Set ARIA sort descending string"><![CDATA[
1717
$('#example').dataTable( {
1818
"language": {
1919
"aria": {
20-
"sortDescending": " - click/return to sort descending"
20+
"sortDescending": "click to sort by _HEADER_ descending"
2121
}
2222
}
2323
} );

0 commit comments

Comments
 (0)