Skip to content

Conversation

@ze-flo
Copy link
Contributor

@ze-flo ze-flo commented Aug 4, 2025

Description

Prevents tooltips from showing when the trigger element has an expanded popup (aria-expanded="true" with aria-haspopup="true"), eliminating competing UI elements. Also suppresses tooltips that would normally trigger on focus immediately after closing expanded popups.

Details

Before

https://zendeskgarden.github.io/react-containers/?path=/story/packages-tooltip-patterns--menu

Screen.Recording.2025-08-04.at.9.09.19.AM.mov

After

tooltip-after.mov

Checklist

  • 🌐 demo is up-to-date (npm start)
  • 💂‍♂️ includes new unit tests
  • ♿ tested for WCAG 2.1 AA compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

Copy link
Member

@jzempel jzempel left a comment

Choose a reason for hiding this comment

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

nice, looks elegant

@ze-flo ze-flo merged commit ef03b49 into main Aug 5, 2025
6 checks passed
@ze-flo ze-flo deleted the ze-flo/suppress-tooltip-aria-expanded branch August 5, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants