Skip to content
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

Accessible pagination #613

Open
alex-kodr opened this issue Jun 30, 2023 · 0 comments
Open

Accessible pagination #613

alex-kodr opened this issue Jun 30, 2023 · 0 comments

Comments

@alex-kodr
Copy link

alex-kodr commented Jun 30, 2023

Hi Patrick,

This is more of a feature request than a bug. Have you thought about adding some accessibility elements to the pagination plugin?

I've started doing some myself adding aria-label="Go to Page ${pageNumber}" it would be nice to add aria-label="Current Page & aria-current="true" on the active element. Also aria-disabled="true" on the disabled elements (next / prev). Also adding aria-disabled="true" to the .mixitup-page-list when there are no results. If you can help at all with the above, I'd be more than happy to paste in my final code here for anyone else looking to add accessibility to the pagination.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant