react-bootstrap-table2
react-bootstrap-table2 copied to clipboard
Incorrect role is defined as a link for multiple controls i.e., back, 0, 1, 2, 3, next and last button
Describe the bug Incorrect role is defined as a link for multiple controls i.e., back, 0, 1, 2, 3, next and last button
To Reproduce Steps to reproduce the behavior:
- Go to https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Pagination&selectedStory=Basic%20Pagination%20Table&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel
- Turn on Screen Reader
- Go to the page links
- Incorrect role is defined as a link for multiple controls i.e., back, 0, 1, 2, 3, next and last button. Due to this screen reader does announce "1 link, 2 link, 3 link".
Screenshots

codesandbox https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Pagination&selectedStory=Basic%20Pagination%20Table&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel