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

fix(tooltip): close tooltip on escape or focusout #9871

Merged
merged 6 commits into from
Jan 11, 2023

Conversation

andy-blum
Copy link
Contributor

Related Ticket(s)

Fixes #8996

Description

Adds Escape logic to the keydown listener and a new focusout listener. Both will toggle the state of the tooltip only in the "closed" direction

Changelog

Changed

  • Accessibility improvements to tooltip

@andy-blum andy-blum requested a review from a team as a code owner December 29, 2022 19:21
@andy-blum andy-blum added bug Something isn't working severity 4 Affects minor functionality, no workaround needed accessibility Has accessibility requirement package: carbon web components owner: Innovation Team used when the engineering work will be done by Hybrid Cloud with DDS engineers as consultants labels Dec 29, 2022
@annawen1 annawen1 closed this Jan 3, 2023
@annawen1 annawen1 reopened this Jan 3, 2023
Copy link
Member

@kennylam kennylam 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 @andy-blum!

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 3, 2023

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 3, 2023

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 3, 2023

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 3, 2023

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Jan 3, 2023

@kennylam kennylam added the Ready to merge Label for the pull requests that are ready to merge label Jan 3, 2023
@kodiakhq kodiakhq bot merged commit 3fdd70e into carbon-design-system:main Jan 11, 2023
@andy-blum andy-blum deleted the fix/tooltip-a11y branch February 20, 2023 14:36
kennylam pushed a commit to kennylam/carbon-for-ibm-dotcom that referenced this pull request Dec 4, 2023
…em#9871)

### Related Ticket(s)

Fixes carbon-design-system#8996 

### Description

Adds `Escape` logic to the `keydown` listener and a new `focusout` listener. Both will toggle the state of the tooltip only in the "closed" direction

### Changelog

**Changed**

- Accessibility improvements to tooltip
kennylam pushed a commit to kennylam/carbon-for-ibm-dotcom that referenced this pull request Jun 11, 2024
…em#9871)

### Related Ticket(s)

Fixes carbon-design-system#8996 

### Description

Adds `Escape` logic to the `keydown` listener and a new `focusout` listener. Both will toggle the state of the tooltip only in the "closed" direction

### Changelog

**Changed**

- Accessibility improvements to tooltip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Has accessibility requirement bug Something isn't working owner: Innovation Team used when the engineering work will be done by Hybrid Cloud with DDS engineers as consultants package: carbon web components Ready to merge Label for the pull requests that are ready to merge severity 4 Affects minor functionality, no workaround needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Background Media]: QA: Tooltip of the play button is not getting dismissed with esc key.
4 participants