-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tooltip): resolve accessibility issues (#1078)
* refactor(tooltip): don't set aria-hidden automatically Partially resolves issues in StackEng/StackOverflow#12658 (comment) * feature(tooltip): hide on escape key press You may ask "why keyup and not keydown". The keydown event occurs repeatedly when a key is held down, which results in the listener function being executed repeatedly and unnecessarily. Keyup only fires once per keypress. * remove `console.log("weeeee")` 😂 * feature(tooltip): persist tooltip on mouseover * Name function more accurately
- Loading branch information
1 parent
0fb0623
commit 775a0c4
Showing
1 changed file
with
47 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters