Skip to content

Commit 81f1d1a

Browse files
fix: relocate button tooltip to workaround nvda click issue (#10405) (#10407)
Co-authored-by: Tomi Virkki <[email protected]>
1 parent debf459 commit 81f1d1a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/button/src/vaadin-button.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ class Button extends ButtonMixin(ElementMixin(ThemableMixin(ControllerMixin(Poly
9292
<span part="suffix" aria-hidden="true">
9393
<slot name="suffix"></slot>
9494
</span>
95+
96+
<slot name="tooltip"></slot>
9597
</div>
96-
<slot name="tooltip"></slot>
9798
`;
9899
}
99100

packages/button/test/dom/__snapshots__/button.test.snap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ snapshots["vaadin-button shadow default"] =
9797
<slot name="suffix">
9898
</slot>
9999
</span>
100+
<slot name="tooltip">
101+
</slot>
100102
</div>
101-
<slot name="tooltip">
102-
</slot>
103103
`;
104104
/* end snapshot vaadin-button shadow default */
105105

0 commit comments

Comments
 (0)