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.
Type
This option can be given in the following type(s):
Default
There is no default value for this option as the language.paginate.last
option contains a string by default.
Example
Define full paging language options as icons with ARIA label text:
new DataTable('#myTable', {
pagingType: 'full',
language: {
paginate: {
first: '«',
previous: '‹',
next: '›',
last: '»'
},
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.