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.
Type
This option can be given in the following type(s):
Default
There is no default value for this option as the language.paginate.first
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.