-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(Tooltip): add several ARIA attributes #5282
feat(Tooltip): add several ARIA attributes #5282
Conversation
This change adds several ARIA attributes along with `tooltipBodyId` prop, so element relationships are better described. This better aligns to the change made to vanilla earlier (carbon-design-system#3148 and Fixes carbon-design-system#3812.
512f22a
to
c1fe58c
Compare
Deploy preview for carbon-components-react ready! Built with commit 512f22a https://deploy-preview-5282--carbon-components-react.netlify.com |
Deploy preview for carbon-elements ready! Built with commit 512f22a |
Deploy preview for carbon-components-react failed. Built with commit f1c03aa https://app.netlify.com/sites/carbon-components-react/deploys/5e3c827450a00300094e3364 |
Deploy preview for carbon-elements failed. Built with commit f1c03aa https://app.netlify.com/sites/carbon-elements/deploys/5e3c82746283d50008a0fc99 |
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 👍 ✅
This change adds several ARIA attributes along with
tooltipBodyId
prop, so element relationships are better described.This better aligns to the change made to vanilla earlier (#3148 and #3476).
No new DAP errors are observed.
Fixes #3812.
Changelog
New
tooltipBodyId
prop<Tooltip>
Testing / Reviewing
Testing should make sure interactive tooltip is not broken.