{hero}

language.aria.paginate.previous

Since: DataTables 1.10.10

WAI-ARIA label for the previous pagination button.

Description

Set the ARIA label attribute for the previous 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.

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: Previous

Example

Use icons for the previous and next buttons with ARIA label text:

new DataTable('#myTable', {
	language: {
		aria: {
			paginate: {
				previous: 'Previous',
				next: 'Next'
			}
		}
	}
});

Related

The following options are directly related and may also be useful in your application development.