#4339·reactstrap

Class "visually-hidden" is not converted to CSS modules in PaginationLink.js

Author: jedlikkCreated Aug 8, 2025Updated Aug 8, 2025
  • components: PaginationLink
  • reactstrap version #9.2.3
  • import method es
  • react version #18.2
  • bootstrap version #5.3.7

What is happening?

Class "visually-hidden" added to element with 'aria-label' in 'PaginationLink' when passed prop next/previous/first/last is not converted to css modules, and by such it require additional css definition to cover it.

What should be happening?

Should be converted to css modules through classnames function, so it will work like rest of the project and text not be visible

Steps to reproduce issue

  1. Set project with css modules
  2. Add PaginationLink with attribute next/previous/first/last

Error message in console

NONE

Code