Skip to content

Commit f04fc9d

Browse files
authored
Resolve Issue #990
Resolve Add Accessible Name to Theme Switcher Button #990
1 parent 6b5287e commit f04fc9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ThemeSwitch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const ThemeSwitch = () => {
5757
<div className="mr-5 flex items-center">
5858
<Menu as="div" className="relative inline-block text-left">
5959
<div className="flex items-center justify-center hover:text-primary-500 dark:hover:text-primary-400">
60-
<Menu.Button>
60+
<Menu.Button aria-label="Theme switcher">
6161
{mounted ? resolvedTheme === 'dark' ? <Moon /> : <Sun /> : <Blank />}
6262
</Menu.Button>
6363
</div>

0 commit comments

Comments
 (0)