-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(a11y): add screen reader support for Tooltip (#490)
* feat(a11y): add screen reader support for Tooltip * fix: lint fix * chore: remove unnecessary jest config file * fix: ensure getTextContent returns an empty string for invalid nodes in Popup component * chore: clean code * chore: clean code * chore: clean code * refactor(Tooltip): simplify ID handling by merging useId with props * chore: adjust logic * fix: lint fix * chore: revert some changes * fix(Tooltip): handle invalid children by wrapping them in a span element * chore: clean code * chore: clean code * fix: lint fic * fix: lint revert * test: add test case
- Loading branch information
1 parent
ea549a3
commit 759180e
Showing
3 changed files
with
80 additions
and
6 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
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
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
759180e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
tooltip – ./
tooltip-react-component.vercel.app
tooltip-git-master-react-component.vercel.app