Skip to content

Commit 31d23b5

Browse files
committed
fix: add tooltip for toggle buttons
Fixes microsoft/vscode-js-debug#777
1 parent 37ee87d commit 31d23b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vscode-js-profile-core/src/client/toggle-button.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const ToggleButton: FunctionComponent<{
2424
type="button"
2525
role="switch"
2626
alt={label}
27+
title={label}
2728
aria-label={label}
2829
aria-checked={checked ? 'true' : 'false'}
2930
dangerouslySetInnerHTML={{ __html: icon }}

0 commit comments

Comments
 (0)