Keyboard accessibility of issues reactions toolbar #152946
Replies: 1 comment
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
GitHub Feature Area
Issues
Body
I’d like to consider reactions to encourage contributors to vote on issues, but have stumbled upon a few accessibility gotchas, that seem like they’re bugs in the implementation.
Keyboard focus of reactions switch buttons
The reactions "switch" buttons seem to be the only way to view the list of usernames who used a given reaction. But for some reason those buttons are only focusable when logged out. Logged into GitHub, the button has
tabindex="-1"
, so it’s impossible for keyboard users to view who voted on what.Here’s the keyboard focus state for an anonymous user (working well):
And here it is for a logged-in user, note how the switch button isn’t reachable:
ARIA label of reaction switch buttons
Different but related issue – the switch buttons also have an
aria-label
. Here’s the label for the "👍️ 7" button in the example above:There are a few puzzling aspects / problems here:
aria-checked="true"
). And "Unreact" when I haven’t reacted (aria-checked="false"
)aria-label
toaria-describedby
/aria-description
Hope this helps, please let me know if there’s a better place to report this
Beta Was this translation helpful? Give feedback.
All reactions