fix: header accessibility fixes (#77)

This commit is contained in:
Andrew Trand 2019-02-07 13:54:30 +02:00 committed by Satyajit Sahoo
parent 755ce445e4
commit f9f279e761
2 changed files with 1 additions and 1 deletions

View File

@ -104,6 +104,7 @@ class HeaderBackButton extends React.PureComponent {
let button = (
<TouchableItem
accessible
accessibilityRole="button"
accessibilityComponentType="button"
accessibilityLabel={title ? `${title}, back` : 'Go back'}
accessibilityTraits="button"

View File

@ -9,7 +9,6 @@ const HeaderTitle = ({ style, ...rest }) => (
{...rest}
style={[styles.title, style]}
accessibilityTraits="header"
accessible={false}
/>
);