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

Tooltip show/hide interaction could be clearer #581

Open
katiehockman opened this issue Jan 22, 2018 · 1 comment
Open

Tooltip show/hide interaction could be clearer #581

katiehockman opened this issue Jan 22, 2018 · 1 comment
Labels
editorial Changes to prose that don't alter intended meaning, e.g., phrasing, grammar. May fix inaccuracies. Feedback Issue raised by or for collecting input from people outside APG task force Pattern Page Related to a page documenting a Pattern

Comments

@katiehockman
Copy link

"If the tooltip is invoked when the trigger element receives focus, then it is dismissed when it no longer has focus (onBlur). If the tooltip is invoked with mouseIn, then it is dismissed with on mouseOut." https://www.w3.org/TR/wai-aria-practices/#tooltip

This could be clearer to outline the following use case:

  1. MouseIn on the triggering element (the tooltip is now shown)
  2. Then focus on the triggering element (the tooltip is still shown)
  3. Then Mouseout of the triggering element while the triggering element still has focus.

Following the authoring practices, this could be interpreted to mean that the tooltip would hide despite the fact that the triggering element has focus.
That should either be stated more explicitly or changed such that the tooltip is always visible if the triggering element has either focus or mouse hover. If changed in this way, then step 3 above would keep the tooltip open since the triggering element has focus despite the mouse out event.

@mcking65 mcking65 added editorial Changes to prose that don't alter intended meaning, e.g., phrasing, grammar. May fix inaccuracies. Feedback Issue raised by or for collecting input from people outside APG task force Pattern Page Related to a page documenting a Pattern labels Feb 14, 2018
@mcking65 mcking65 added this to the 1.1 APG Release 3 milestone Feb 14, 2018
@mcking65
Copy link
Contributor

Related to #128

@mcking65 mcking65 modified the milestones: 1.1 APG Release 4, 1.2 CR Aug 13, 2019
@mcking65 mcking65 modified the milestones: 1.2 Release 1, 1.2 Release 2 Dec 9, 2019
@mcking65 mcking65 removed this from the Launch Redesigned APG milestone May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Changes to prose that don't alter intended meaning, e.g., phrasing, grammar. May fix inaccuracies. Feedback Issue raised by or for collecting input from people outside APG task force Pattern Page Related to a page documenting a Pattern
Development

No branches or pull requests

2 participants