Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

fix(tooltip): remove aria-owns attribute #2273

Merged
merged 2 commits into from
Apr 27, 2019

Conversation

dakahn
Copy link
Contributor

@dakahn dakahn commented Apr 24, 2019

closes #1931

We had a div with an aria-owns attribute with an id that doesn't belong to any other element. Looked like a bug, but when I investigated further I don't think we need this attribute set at all.

This attribute is not exposed by the component's API so I wouldn't' consider this a breaking change 🤷‍♂️.

I tested with NVDA on Windows 10 and the toggletip button reads as a button and when the toggletip is expanded it's announced properly and read.

Changelog

  • removed aria-owns attribute and corresponding variable/logic

@netlify
Copy link

netlify bot commented Apr 24, 2019

Deploy preview for carbon-components-react ready!

Built with commit ce80640

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

@dakahn dakahn changed the title fix(tooltip): remove aria-owns fix(tooltip): remove aria-owns attribute Apr 24, 2019
Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

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

LGTM 👍 - Thanks @dakahn!

Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

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

looks good to me! just need to resolve merge conflict

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tooltip carbon component doesn't allow to set our own aria-values and id
3 participants