Skip to content

Improve semantic HTML and screen reader support for pagination#2516

Open
mahicodes28 wants to merge 2 commits intodjango:mainfrom
mahicodes28:fix-pagination-accessibility
Open

Improve semantic HTML and screen reader support for pagination#2516
mahicodes28 wants to merge 2 commits intodjango:mainfrom
mahicodes28:fix-pagination-accessibility

Conversation

@mahicodes28
Copy link
Copy Markdown

@mahicodes28 mahicodes28 commented Feb 16, 2026

  • Replaced incorrect role="navigation" usage with a semantic

    element.

  • Ensured

      contains only
    • elements.

    • Moved the current page indicator inside a

    • to fix invalid HTML structure.

    • Added descriptive aria-label attributes to previous/next links to improve screen reader context.

    • Preserved Django i18n ({% translate %} / {% blocktranslate %})

@mahicodes28
Copy link
Copy Markdown
Author

Hi! Just a gentle follow-up on this PR.
Please let me know if any changes or improvements are required. I'd be happy to update it.
@alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants