Merge pull request #34 from pzatorski/feature/back-button-accessibility
change accessibilityLabel for HeaderBackButton - Fix iOS voiceover
This commit is contained in:
commit
bf5a8411f8
|
@ -111,7 +111,7 @@ class HeaderBackButton extends React.PureComponent {
|
||||||
<TouchableItem
|
<TouchableItem
|
||||||
accessible
|
accessible
|
||||||
accessibilityComponentType="button"
|
accessibilityComponentType="button"
|
||||||
accessibilityLabel={title}
|
accessibilityLabel={title ? `${title}, back` : 'Go back'}
|
||||||
accessibilityTraits="button"
|
accessibilityTraits="button"
|
||||||
testID="header-back"
|
testID="header-back"
|
||||||
delayPressIn={0}
|
delayPressIn={0}
|
||||||
|
|
Loading…
Reference in New Issue