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 6ce7a6f commit 66b7600Copy full SHA for 66b7600
1 file changed
src/components/RadioButton/RadioButtonItem.tsx
@@ -177,6 +177,7 @@ const RadioButtonItem = ({
177
let radioButton: any;
178
179
if (mode === 'android') {
180
+ // aria-hidden ensures that Talkback does not read out the interior radio button as a separate element
181
radioButton = <RadioButtonAndroid {...radioButtonProps} aria-hidden />;
182
} else if (mode === 'ios') {
183
radioButton = <RadioButtonIOS {...radioButtonProps} />;
0 commit comments