getItemAriaLabel

abstract var getItemAriaLabel: (Union, page: Number?, selected: Boolean) -> String?(source)

Accepts a function which returns a string value that provides a user-friendly name for the current page. This is important for screen reader users.

For localization purposes, you can use the provided translations.

Parameters

{boolean} selected If true, the current page is selected.