-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add aria hidden true to svgs in tooltips #1555
Add aria hidden true to svgs in tooltips #1555
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
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.
ok, go !
Kudos, SonarCloud Quality Gate passed! |
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! You can create a PR for Bootstrap in the same spirit to fix the SVG example in https://getbootstrap.com/docs/5.2/components/tooltips/#directions.
Related issues
Closes #1554
Description
SVGs in tooltips do not carry any specific information so they should not be readable by screen reader so we should add 'aria-hidden=true'
In addition, replace the missing 'focusable=false' on the first svg (seen with @Aniort)
Motivation & Context
Accessibility improvement for tooltips.
Types of change
Live previews
Checklist
npm run lint
)