Skip to content

Fixed pagination component accessibility. #542

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Antoliny0919
Copy link
Contributor

I have improved the accessibility of the pagination component.

  1. I also added <li> elements for the ellipsis that indicates skipped pages, as well as for the previous and next buttons.
  2. I removed unnecessary attributes (aria-label, rel) from the disabled previous and next buttons.
  3. I corrected the incorrectly set aria-labelledby on the <nav> element and replaced it with aria-label.

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

Successfully merging this pull request may close these issues.

1 participant