getItemAriaLabel

abstract var getItemAriaLabel: (Union) -> 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

{string} type The link or button type to format ('first' | 'last' | 'next' | 'previous').