Skip to content

Conversation

Antoliny0919
Copy link
Collaborator

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.

@chriswedgwood chriswedgwood merged commit 397ac26 into django:main Jun 24, 2025
1 check passed
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.

2 participants