language.aria.paginate.first
WAI-ARIA label for the first pagination button.
Description
Set the ARIA label attribute for the first pagination button. This can be particularly useful for cases where you wish to show an icon such as «
in the button itself, while retaining full accessibility.
Please note that the default value was updated for DataTables 2 to contain a value (previously it was an empty string) due to the use of a UTF-8 character being used for display in the button.
Type
This option can be given in the following type(s):
Default
- Value:
First
Example
Define full paging language options as icons with ARIA label text:
new DataTable('#myTable', {
pagingType: 'full',
language: {
aria: {
paginate: {
first: 'First',
previous: 'Previous',
next: 'Next',
last: 'Last'
}
}
}
});
Related
The following options are directly related and may also be useful in your application development.