language.aria.sortAscending

Since: DataTables 1.10

Language strings used for WAI-ARIA specific attributes.

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.

Type

This option can be given in the following type(s):

Default

  • Value: : activate to sort column ascending

Example

Set ARIA sort ascending string:

$('#example').dataTable( {
  "language": {
    "aria": {
      "sortAscending": " - click/return to sort ascending"
    }
  }
} );

Related

The following options are directly related and may also be useful in your application development.