Namespace: oAria - documentation

# Namespace: oAria

## Ancestry: DataTable » .defaults » .oLanguage. » oAria

DataTables v1.9.1 documentation

Strings that are used for WAI-ARIA labels and controls only (these are not actually visible on the page, but will be read by screenreaders, and thus must be internationalised as well).

## Summary

### Properties

<static> sSortAscending :string
  ARIA label that is added to the table headers when the column may be sorted ascending by activing the column (click or return when focused). Note that the column header is prefixed to this string.
<static> sSortDescending :string
  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 is prefixed to this string.

## Details

### Properties

<static> sSortAscending :string

  ARIA label that is added to the table headers when the column may be sorted ascending by activing the column (click or return when focused). Note that the column header is prefixed to this string.

  ##### Example

         $(document).ready(function() {
           $('#example').dataTable( {
             "oLanguage": {
               "oAria": {
                 "sSortAscending": " - click/return to sort ascending"
               }
             }
           } );
         } );

<static> sSortDescending :string

  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 is prefixed to this string.

  ##### Example

         $(document).ready(function() {
           $('#example').dataTable( {
             "oLanguage": {
               "oAria": {
                 "sSortDescending": " - click/return to sort descending"
               }
             }
           } );
         } );