Skip to content

Conversation

@carylwyatt
Copy link
Member

@carylwyatt carylwyatt commented Dec 22, 2025

This PR is a companion to the page turner a11y bugs PR. This implements the event listener for closing the download modal.

There isn't really anything here to review unless you want to test this out in pt on dev-3: https://dev-3.babel.hathitrust.org/cgi/pt?id=mcg.ark:/13960/t6tx4zx69&seq=3

Open the download panel, click the Download button. Once the modal pops up, use your keyboard and press ESC. The modal should close and the focus return to the Download button in the sidebar.

@carylwyatt
Copy link
Member Author

@moseshll sorry, I thought I tagged you on this one, but I see now that did not happen! 🤦‍♀️ Thanks in advance for taking a look!

Copy link

@moseshll moseshll left a comment

Choose a reason for hiding this comment

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

All good! APPROVE

@carylwyatt carylwyatt merged commit a646f24 into main Jan 5, 2026
5 checks passed
@carylwyatt carylwyatt deleted the pt-a11y-bugs branch January 5, 2026 17:46
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.

3 participants