Skip to content

added aria live to in-game log, and added aria label to icon pattern … #6948

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

Merged

Conversation

utati
Copy link
Contributor

@utati utati commented Jun 19, 2023

…pairs. This would make it so a screen reader would read out the events of a game/replay as it was happening.

https://www.youtube.com/watch?v=XxEfvgoZd3Y Here's a video showing it in action.

I'm not sure about the change for icons. I noticed there's a tooltip that appears when you hover over the icons, the code that creates that tooltip may be a better place to add the aria-label.

References:
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions

…pairs. This would make it so a screen reader would read out the events of a game/replay as it was happening.
@NoahTheDuke NoahTheDuke merged commit 6ce88fd into mtgred:master Jul 30, 2023
@lostgeek lostgeek mentioned this pull request Jul 31, 2023
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.

2 participants