New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessibility Selected <li> tabindex #219
Comments
I have a similar request for setting |
1 task
dnsos
added a commit
to technologiestiftung/stadtpuls-frontend
that referenced
this issue
Jan 25, 2022
Change in react-paginate. See: AdeleD/react-paginate#219
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am running through some accessibility checks and I have notices this piece of code:
<li class="selected"><a tabindex="0" aria-label="Page 3 is your current page" aria-current="page">3</a></li>
The issue with that is there is no action set on the "selected" li. So when running through the page with Tab, I can see the previous, and next button selectable (and pressing enter will trigger the expected behaviour).
Is there a way to make the tabindex="-1" for the selected link ? I don't think there is any need to make it selectable, specially if no action can be performed on it.
Thanks in advance
The text was updated successfully, but these errors were encountered: