From 39dcdf0ea426caa4d96df9abe08b8f2a1f4cc334 Mon Sep 17 00:00:00 2001 From: damoores Date: Tue, 7 Apr 2020 14:58:23 -0700 Subject: [PATCH] update RadioButtonInput accessibility label t to improve screen reader clarity --- README.md | 2 +- lib/SimpleRadioButton.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3bf9260..dccbf77 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ indicates accessibility for the individual radio button input and radio button l ### accessibilityLabel used to set accessibilityLabel for individual radio button input and radio button label components, -radio button input will have accessibilityLabel = [accessibilityLabel]Input[index] +radio button input will have accessibilityLabel = [accessibilityLabel]Radio Button[index] radio button label will have accessibilityLabel = [accessibilityLabel]Label[index] ### testID diff --git a/lib/SimpleRadioButton.js b/lib/SimpleRadioButton.js index a737044..391a062 100644 --- a/lib/SimpleRadioButton.js +++ b/lib/SimpleRadioButton.js @@ -155,7 +155,7 @@ export class RadioButton extends React.Component { !this.props.labelHorizontal && Style.labelVerticalWrap ]}>