Skip to content

Commit 88730cd

Browse files
authored
fix(typing-avatar): hide tooltip from screen reader (#1429)
* fix(typing-avatar): hide tooltip from screen reader * fix(typing-avatar): hide tooltip before element by default
1 parent 42fbee4 commit 88730cd

File tree

1 file changed

+3
-0
lines changed
  • packages/node_modules/@webex/react-component-typing-avatar/src

1 file changed

+3
-0
lines changed

packages/node_modules/@webex/react-component-typing-avatar/src/styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
}
2424
/* Tooltip styling */
2525
[data-tooltip]:before {
26+
display: none;
2627
position: absolute;
2728
bottom: 100%;
2829
left: 50%;
@@ -42,6 +43,7 @@
4243

4344
/* Tooltip Bottom Arrow */
4445
[data-tooltip]:after {
46+
display: none;
4547
content: '';
4648
opacity: 0;
4749
position: absolute;
@@ -59,5 +61,6 @@
5961
/* Show the tooltip when hovering */
6062
[data-tooltip]:hover:before,
6163
[data-tooltip]:hover:after {
64+
display: unset;
6265
opacity: 1;
6366
}

0 commit comments

Comments
 (0)