Skip to content

Commit 2aa0d88

Browse files
authored
fix: relocate button tooltip to workaround nvda click issue (#10405)
1 parent 35feee6 commit 2aa0d88

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
@@ -99,8 +99,9 @@ class Button extends ButtonMixin(ElementMixin(ThemableMixin(PolylitMixin(LumoInj
9999
<span part="suffix" aria-hidden="true">
100100
<slot name="suffix"></slot>
101101
</span>
102+
103+
<slot name="tooltip"></slot>
102104
</div>
103-
<slot name="tooltip"></slot>
104105
`;
105106
}
106107

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)