language.aria.paginate.last
WAI-ARIA label for the last pagination button.
Description
Set the ARIA label attribute for the last 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:
Last
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.