Commit b7cc435 1 parent 6678d65 commit b7cc435 Copy full SHA for b7cc435
File tree 2 files changed +2
-2
lines changed
packages/components/src/components/post-tooltip
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
' @swisspost/design-system-components ' : patch
3
3
---
4
4
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.
Original file line number Diff line number Diff line change @@ -256,11 +256,11 @@ export class PostTooltip {
256
256
return (
257
257
< Host
258
258
data-version = { version }
259
+ role = "tooltip"
259
260
onPointerOver = { this . handleInterest }
260
261
onPointerOut = { this . handleInterestLost }
261
262
onFocusIn = { this . handleInterest }
262
263
onFocusOut = { this . handleInterestLost }
263
- role = "tooltip"
264
264
>
265
265
< post-popovercontainer
266
266
class = { popoverClass }
You can’t perform that action at this time.
0 commit comments