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

Epic: Improve Pagination's UX for A11y #658

Open
7 tasks
marvieqa opened this issue May 27, 2024 · 0 comments
Open
7 tasks

Epic: Improve Pagination's UX for A11y #658

marvieqa opened this issue May 27, 2024 · 0 comments
Labels
enhancement New feature or request usability

Comments

@marvieqa
Copy link
Collaborator

Description

This ticket describes the ideal behaviour of the pagination, for when we have the resources to update its current implementation. This would improve and resolve the overall accessibility of the pagination experience

Requirements

  • Properties displayed on a page should be wrapped in a <list>
  • Pagination should be links that takes you to a page, not a button. (See W3C Pagination example) Currently, it's a collection of <buttons>.
  • Focus handling
    • If the Properties displayed are wrapped in a <list>
      • Manage focus to go to the property <list> when the new (next or previous) page loads, so users don't need to step backwards to get to the list;
    • If the properties displayed is not in a list,
    • Add a visually-hidden text "Property List Page x"
    • Put the focus on this text when the new page load. This also assists screen reader user's understanding.
  • Page numbers should have <aria-current="page"> to denote the current selection.

Additional notes

  • This would eliminate the need for adding aria-live regions just to announce that a new set of properties has loaded as described in the following opened tickets.

#340
#635

@marvieqa marvieqa added enhancement New feature or request usability labels May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request usability
Projects
Status: To Do
Development

No branches or pull requests

2 participants