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

Improve screen reader accessibility for linklist paging: #8

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

Flameborn
Copy link
Contributor

Hello,

This does the following:

  • Label Previous/Next page links.
  • Mark the currently selected number of links shown via aria-current

A note on the Previous/Next page links: In the html, these are marked as Previous to go to the next page, and Next to go back one page. Given that the page numbers increase, I feel that this would have been counterintuitive for screen reader users, so I have labelled them as Next page and Previous page instead.

* Label Previous/Next page links.
* Mark the currently selected number of links shown.
@RolandTi
Copy link
Owner

RolandTi commented Apr 5, 2024

Thanks again !

@RolandTi RolandTi merged commit cafa3a0 into RolandTi:main Apr 5, 2024
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