Skip to content

Commit 2223a3e

Browse files
committed
Add tooltip to ThemePicker button
1 parent a520c17 commit 2223a3e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/components/ThemePicker/ThemeButton.astro‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import styles from './themeButton.module.css'
2121
aria-expanded="false"
2222
aria-controls="theme-picker-panel"
2323
aria-label="toggle theme switcher"
24+
data-tooltip
25+
title="Change Themes"
2426
data-theme-toggle
2527
>
2628
{/** Intentionally not using Icon component. */}

0 commit comments

Comments
 (0)