Skip to content

Commit

Permalink
Update documentation for sortAscending and sortDescending ARIA strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ferranmesas committed Feb 21, 2017
1 parent d8861f4 commit 7959374
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/option/language.aria.sortAscending.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<description>
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).

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

<example title="Set ARIA sort ascending string"><![CDATA[
$('#example').dataTable( {
"language": {
"aria": {
"sortAscending": " - click/return to sort ascending"
"sortAscending": "click to sort by _HEADER_ ascending"
}
}
} );
Expand Down
4 changes: 2 additions & 2 deletions docs/option/language.aria.sortDescending.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<description>
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).

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

<example title="Set ARIA sort descending string"><![CDATA[
$('#example').dataTable( {
"language": {
"aria": {
"sortDescending": " - click/return to sort descending"
"sortDescending": "click to sort by _HEADER_ descending"
}
}
} );
Expand Down

0 comments on commit 7959374

Please sign in to comment.