You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this library (version 2.1.4) to paginate a search results page, and it works great. However, it was flagged for several important accessibility related issues.
The pagination number links, disabled next/prev buttons may not compliant with accessibility standards.
Users may find it difficult to understand what page they are currently on or what result set they are looking at because the only way current page number is indicated is through data-num and .active class name.
When a button is disabled, an aria-disabled="true" on that button could be helpful.
Links in pagination control must have descriptive labels and valid hrefs.
I used this library (version 2.1.4) to paginate a search results page, and it works great. However, it was flagged for several important accessibility related issues.
The pagination number links, disabled next/prev buttons may not compliant with accessibility standards.
aria-disabled="true"
on that button could be helpful.<ul>
must also be wrapped in a<nav>
tag.On doing some digging, this article also speaks about similar considerations:
https://www.a11ymatters.com/pattern/pagination/#wrap-the-pagination-links-in-a-nav-element
Is there a way to address these currently, or is there a way to customize the markup of the pagination bar?
The text was updated successfully, but these errors were encountered: