language.aria.paginate.next
WAI-ARIA label for the next pagination button.
Description
Set the ARIA label attribute for the next pagination button. This can be particularly useful for cases where you wish to show an icon such as »
or ›
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.next
option contains a string by default.
Example
Use icons for the previous and next buttons with ARIA label text:
new DataTable('#myTable', {
language: {
paginate: {
previous: '‹',
next: '›'
},
aria: {
paginate: {
previous: 'Previous',
next: 'Next'
}
}
}
});
Related
The following options are directly related and may also be useful in your application development.