Skip to content
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

Merged

Conversation

asudoh
Copy link
Contributor

@asudoh asudoh commented Feb 6, 2020

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
  • Several ARIA attributes for cross-referencing elements, etc. in <Tooltip>

Testing / Reviewing

Testing should make sure interactive tooltip is not broken.

@asudoh asudoh requested a review from a team as a code owner February 6, 2020 10:28
@ghost ghost requested review from aledavila and tw15egan February 6, 2020 10:28
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.
@netlify
Copy link

netlify bot commented Feb 6, 2020

Deploy preview for carbon-components-react ready!

Built with commit 512f22a

https://deploy-preview-5282--carbon-components-react.netlify.com

@netlify
Copy link

netlify bot commented Feb 6, 2020

Deploy preview for carbon-elements ready!

Built with commit 512f22a

https://deploy-preview-5282--carbon-elements.netlify.com

@netlify
Copy link

netlify bot commented Feb 6, 2020

Deploy preview for carbon-components-react failed.

Built with commit f1c03aa

https://app.netlify.com/sites/carbon-components-react/deploys/5e3c827450a00300094e3364

@netlify
Copy link

netlify bot commented Feb 6, 2020

Deploy preview for carbon-elements failed.

Built with commit f1c03aa

https://app.netlify.com/sites/carbon-elements/deploys/5e3c82746283d50008a0fc99

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 ✅

@asudoh asudoh merged commit 45acec0 into carbon-design-system:master Feb 6, 2020
@asudoh asudoh deleted the interactive-tooltip-markup-a11y branch February 6, 2020 22:26
This was referenced Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[React Tooltip] carry over a11y fixes from Vanilla
3 participants