Keyboard Navigation Improvements for Hovercards #133986
Replies: 4 comments 2 replies
-
I am thrilled to see this opened as a discussion for user feedback. I think some readers might appreciate context for what spurred it, including the feedback and even a screen recording: https://github.com/orgs/community/discussions/127592 I look forward to seeing what y'all have to say (and yes, I am boosting this to AT users I know so they can hopefully weigh in). |
Beta Was this translation helpful? Give feedback.
-
Using a screen reader I'm noticing reading order issues inside hovercards - the follow button coming up in between the different regions. "Press Esc to close this hovercard" isn't too annoying, since it's at the end - if you know the widget, you'll never have to hear it again - but may still be redundant since that's the typical interaction style. There are a whole lot of regions and groups to go through, but I could also change my verbosity settings. They're everything but discoverable - I just learned the shortcut from this thread. If I wanted to learn about a user, I'd follow the link to their profile. I don't remember wanting to know about a user in context, but this seems like a good way to do that, conceptually. Using magnification, they're easy enough to dismiss by moving the mouse away, if I'm not interested in them. If I am, it could be easier to have an X button, so I can push the side of the screen with the mouse to pan around and not have it dimissed unintentionally. Putting all that together, for me, a nice interface would be something like an arrow button next to a username I can click/activate if I want the info. That would then pop up a card with an X button. That would also fix the discoverability, at the cost of an extra element everywhere. @aardrian the elephant toots at midnight? Can we start that? |
Beta Was this translation helpful? Give feedback.
-
@j0siepy I'm grateful for the update, but unclear about how it addresses the concerns raised in https://github.com/orgs/community/discussions/127592. Your comment here, and the changelog entry only talk about the keyboard behaviour (which AFAIK was already present), and don't mention accessible descriptions or other forms of link annotation at all. If the solution is literally that:
... then that's fine. But I think it could be more explicitly spelled out, to acknowledge the problems screen reader users experienced in the first place. |
Beta Was this translation helpful? Give feedback.
-
Should read: "excluding some users from using our site" |
Beta Was this translation helpful? Give feedback.
-
⛰️ The challenge
The only way to interact with hovercards in dotcom right now is limited to mouse users (hover over the triggering link). This violates WCAG 1.4.13 (Content on Hover or Focus), inhibiting some users when there are hovercards in the UI.
🍰 Our Approach
We introduced keyboard behavior so that users can navigate and dismiss hovercards without needing to use a mouse. When a user is focused on a link with a hovercard, users can press
alt + up
to make the hovercard appear and move focus inside. Focus is trapped, just like it would be in a dialog and users can pressesc
to dismiss the hovercard and restore focus to the link.Based on both community and internal feedback we have also introduced user settings to disable all hovercards.
👂Feedback
Please share your thoughts in the comments. If you are interested in providing more in-depth feedback, let us know there as well.
All users:
What is the best way to make the Alt+Up keyboard shortcut discoverable but not noisy?
Tell us about your experience of moving focus into/out of a hovercard? How does this impact your workflow?
Screen reader users:
Keyboard only users:
Screen magnification users:
Anyone who may be negatively impacted by this change that we may not have accounted for:
Beta Was this translation helpful? Give feedback.
All reactions