-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
fix: Banner accessibility #10299
fix: Banner accessibility #10299
Conversation
<div class="donation-banner__close"> | ||
<span id="hide-donate-banner" class="material-icons" onclick="DonationButton();">close</span> | ||
<button id="hide-donate-banner" class="material-icons modest" onclick="DonationButton();" onkeypress="DonationButton();">close</button> |
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.
What's the "modest" class?
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.
It's a sveetoy class to make the button smaller
Thanks for the PR! If there are any visual differences, could you add before / after screenshots? |
Thanks, looks fine to me. The language is different though ;) |
|
What
Accessibility for donate banner
Give role to spans
Alt to images
Make the close button accessible
Related issue(s) and discussion