Merge pull request #34 from pzatorski/feature/back-button-accessibility

change accessibilityLabel for HeaderBackButton - Fix iOS voiceover
This commit is contained in:
Brent Vatne 2018-10-10 14:00:04 -07:00 committed by GitHub
commit bf5a8411f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class HeaderBackButton extends React.PureComponent {
<TouchableItem
accessible
accessibilityComponentType="button"
accessibilityLabel={title}
accessibilityLabel={title ? `${title}, back` : 'Go back'}
accessibilityTraits="button"
testID="header-back"
delayPressIn={0}