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

Add aria-current to page buttons #723

Conversation

jgrimes86
Copy link
Contributor

This PR closes issue #656

Adds an 'aria-current' attribute to the pagination page buttons.

To test, use a screen reader and navigate to the pagination buttons at the bottom of the property list view of the 'Find Properties' page.

  • On pressing an unselected page button, the screen reader should announce, "Current page, page #".
  • If you navigate away from the selected page button and then navigate back to it, the screen reader should announce, "Page # button, current page".

Copy link

vercel bot commented Jul 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vacant-lots-proj ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2024 2:28pm

Copy link
Collaborator

@bacitracin bacitracin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sounds good, just FYI that another pagination labeling PR exists and will be merged in. I don't think that this interferes with your work. #726

@bacitracin bacitracin merged commit 58d4cd2 into CodeForPhilly:staging Jul 2, 2024
3 checks passed
@CodeWritingCow CodeWritingCow added the A11y Accessibility label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11y Accessibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants