Skip to content

Commit f1522eb

Browse files
fix: relocate button tooltip to workaround nvda click issue (#10405) (#10406)
Co-authored-by: Tomi Virkki <tomivirkki@users.noreply.github.com>
1 parent 7084e97 commit f1522eb

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
@@ -93,8 +93,9 @@ class Button extends ButtonMixin(ElementMixin(ThemableMixin(ControllerMixin(Poly
9393
<span part="suffix" aria-hidden="true">
9494
<slot name="suffix"></slot>
9595
</span>
96+
97+
<slot name="tooltip"></slot>
9698
</div>
97-
<slot name="tooltip"></slot>
9899
`;
99100
}
100101

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)