-
Notifications
You must be signed in to change notification settings - Fork 54
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
Remove unnecessary role="img" #2704
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
1 is missing also in both orange-global-headers.html
and orange-supra.html
.
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.
LGTM 🚀
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.
The HTML markup changed (slightly) for the headers, so it might be useful to mention it in the migration guide, isn't it?
(Note: there are some conflicts to resolve in the PR due to other PRs being merged)
# Conflicts: # site/content/docs/5.3/about/brand.md
This comment was marked as resolved.
This comment was marked as resolved.
# Conflicts: # site/content/docs/5.3/dark-mode.md # site/content/docs/5.3/migration.md # site/layouts/shortcodes/orange-global-headers.html # site/layouts/shortcodes/orange-supra.html
Apparently, thanks to your PR, we can remove one rule from |
Note: Please transform
- [ ]
into- (NA)
in the description when things are not applicableRelated issues
#2667
Description
Remove unnecessary role="img" on aria-hidden SVGs or
<img>
Motivation & Context
This issue has been seen while fixing a11y audit:
role
<img>
are used for images only and should not have arole="img"
Types of change
Live previews