If options previousLabel or nextLabel are set, the screenreader output is overriden by English default value for aria-label.
This means that there won't be any custom screenreader output, it will be always "Previous Page"/"Next page".
Tested with NVDA screenreader. Open Source to download here: https://www.nvaccess.org/download/
See example: https://codepen.io/tonse/pen/VYwpbEa
Either the value of previousAriaLabel or nextAriaLabel should be updated or removed,
if options previousLabel or nextLabel are set:
- previous Label:
|
aria-label={previousAriaLabel} |
- next Label:
|
aria-label={nextAriaLabel} |
If options
previousLabelornextLabelare set, the screenreader output is overriden by English default value foraria-label.This means that there won't be any custom screenreader output, it will be always "Previous Page"/"Next page".
Tested with NVDA screenreader. Open Source to download here: https://www.nvaccess.org/download/
See example: https://codepen.io/tonse/pen/VYwpbEa
Either the value of
previousAriaLabelornextAriaLabelshould be updated or removed,if options
previousLabelornextLabelare set:react-paginate/react_components/PaginationBoxView.js
Line 588 in 4e9ff45
react-paginate/react_components/PaginationBoxView.js
Line 606 in 4e9ff45