diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f337c94c4..7734450ab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Fix `Dropdown` to properly accept `id` on `searchInput` @silviuavram ([#1938](https://github.com/stardust-ui/react/pull/1938)) - Fix white flash when activating `Embed` component @lucivpav ([#1909](https://github.com/stardust-ui/react/pull/1909)) - Fix comparison of custom objects in `Dropdown` @lucivpav ([#1943](https://github.com/stardust-ui/react/pull/1943)) +- Fix make `tooltip` visible for screen reader @kolaps33 ([#1942](https://github.com/stardust-ui/react/pull/1942)) ### Features - Add `TextArea` component @lucivpav ([#1897](https://github.com/stardust-ui/react/pull/1897)) diff --git a/packages/react/src/themes/teams/components/Tooltip/tooltipStyles.ts b/packages/react/src/themes/teams/components/Tooltip/tooltipStyles.ts index 56985a3db2..82916f2587 100644 --- a/packages/react/src/themes/teams/components/Tooltip/tooltipStyles.ts +++ b/packages/react/src/themes/teams/components/Tooltip/tooltipStyles.ts @@ -7,7 +7,7 @@ const tooltipStyles: ComponentSlotStylesPrepared content: ({ variables: v, props: p }): ICSSInJSStyle => ({ ...(!p.open && { - visibility: 'hidden', + opacity: 0, }), zIndex: v.zIndex, position: 'absolute',