We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9273140 commit f30cf2aCopy full SHA for f30cf2a
packages/docusaurus-theme-classic/src/theme/ColorModeToggle/index.tsx
@@ -127,13 +127,16 @@ function ColorModeToggle({
127
onChange(getNextColorMode(value, respectPrefersColorScheme))
128
}
129
disabled={!isBrowser}
130
- title={title}
131
aria-label={title}
+
132
// aria-live disabled on purpose - This is annoying because:
133
// - without this attribute, VoiceOver doesn't annonce on button enter
134
// - with this attribute, VoiceOver announces twice on ctrl+opt+space
135
// - with this attribute, NVDA announces many times
136
// aria-live="polite"
137
138
+ // Title leads to double announcements in NVDA
139
+ // title={title}
140
>
141
<CurrentColorModeIcon />
142
</button>
0 commit comments