Skip to content

Commit b7cc435

Browse files
committed
chore(changeset): adapted changeset
1 parent 6678d65 commit b7cc435

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.changeset/lovely-deers-itch.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@swisspost/design-system-components': patch
33
---
44

5-
Moved the 'role=tooltip' to 'post-popovercontainer' to fix accessibility issue.
5+
Made the ´<post-popovercontainer>´ visually hidden for tooltips to fix accessability issue.

packages/components/src/components/post-tooltip/post-tooltip.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,11 @@ export class PostTooltip {
256256
return (
257257
<Host
258258
data-version={version}
259+
role="tooltip"
259260
onPointerOver={this.handleInterest}
260261
onPointerOut={this.handleInterestLost}
261262
onFocusIn={this.handleInterest}
262263
onFocusOut={this.handleInterestLost}
263-
role="tooltip"
264264
>
265265
<post-popovercontainer
266266
class={popoverClass}

0 commit comments

Comments
 (0)