-
Notifications
You must be signed in to change notification settings - Fork 257
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
feat: topics loop selection and tabbing A11y #664
feat: topics loop selection and tabbing A11y #664
Conversation
✅ Deploy Preview for activist-org ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thank you for the pull request!The activist team will do our best to address your contribution as soon as we can. The following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :) If you're not already a member of our public Matrix community, please consider joining! We'd suggest using Element as your Matrix client, and definitely join the General and Development rooms once you're in. It'd be great to have you! Maintainer checklist
|
Heyo @UnknownSean8 👋 Generally the changes are good, but I'm noticing that we're not switching to the first topic anymore if we've navigated with the arrow keys to a different one. We instead switch back to the last one that was focussed, which isn't inherently bad, but then we'd want it to go to the first if say the person filters and then we want them to go to the first topic instead of the one that's in the position they were just on. What's more, we now don't tab into the topics selection if the topic that was last focussed isn't in the filter results. So from the base view type |
Ahh, I got what you mean. I missed some testing before pushing the commits. I'll fix it up ASAP. Thanks! |
Hi @andrewtavis, I've done the A11y implementation for the topics. One remaining problem is an edge case where the topic will lose focus if the user enters the first topic after navigating the topics. Other than that is working all as expected. Steps to reproduce:
I will continue to look into this. Maybe I can create a new issue regarding this? Thank you. |
Yes by all means, @UnknownSean8! Feel free to make a new issue and I'll bring this PR in. We can put |
Hey @UnknownSean8 :) Am realizing one thing that the up and down arrow behavior that you were showing me during Code Brunch 🍞☕ seems to not be working. When I try to do it on the top row it just ends up cycling through the top row elements as if I were pressing left or right. If fixing this is going to cause a headache, could we just remove the ability to navigate with the up and down arrow on desktop? Thanks! |
Hi @andrewtavis, I don't seem to encounter this issue. Could you show me what steps you have taken, video or maybe a call? Thanks :D |
Sure thing on a call! Want to jump into the sync? |
Sure! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really amazing stuff here, @UnknownSean8 😊 So happy to have had you specifically working on this one! Has turned out so well 🥳 Bringing this in and closing it up!
Contributor checklist
Description
This should allow the selection of topics to loop while navigating using arrow keys.
This PR also fixes the problem where tabbing will go to the next component instead of a fixed component.
Related issue