We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b467be commit 70ce39cCopy full SHA for 70ce39c
src/theme/BackToTopButton/DarkModeSwitch.js
@@ -24,6 +24,7 @@ export default function DarkModeSwitch() {
24
isDark,
25
}
26
)}
27
+ aria-label={isDark ? 'Switch to light mode' : 'Switch to dark mode'}
28
onClick={() => setColorMode(isDark ? 'light' : 'dark')}
29
>
30
<span
0 commit comments