algolia / instantsearch-specs

CSS library for InstantSearch libraries
https://instantsearchjs.netlify.app/specs/
5 stars 4 forks source link

feat(pagination): suggest accessibility improvments #120

Closed Haroenv closed 2 years ago

Haroenv commented 2 years ago

The aria-label with page number was already implemented in most flavours, but is just the number.

https://www.a11ymatters.com/pattern/pagination/

We don't need aria-disabled as the disabled pages are already span, thus not interactive.

I'm suggesting this change to implement in React InstantSearch hooks initially, as it's not yet a breaking change there