Allow to set the label for pagination for better A11Y support #1966
Unanswered
hardikpthv
asked this question in
General
Replies: 1 comment
-
Hi @hardikpthv, Yes, it would be good to add an option to set that label by the user. Feel free to create a PR 💪! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, in the pagination component, the
aria-label
is assigned from the static translations and it works as expected however when there is more than one pagination on the page, for example, one as part of the table (navigator) and another could be for perhaps page navigation. The screen reader will have the same label for both pagination components.https://github.com/ing-bank/lion/blob/master/packages/ui/components/pagination/src/LionPagination.js#L301
Beta Was this translation helpful? Give feedback.
All reactions