mirror of
https://github.com/status-im/react-navigation-stack.git
synced 2025-02-21 10:48:22 +00:00
fix: header accessibility fixes (#77)
This commit is contained in:
parent
755ce445e4
commit
f9f279e761
@ -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"
|
||||
|
@ -9,7 +9,6 @@ const HeaderTitle = ({ style, ...rest }) => (
|
||||
{...rest}
|
||||
style={[styles.title, style]}
|
||||
accessibilityTraits="header"
|
||||
accessible={false}
|
||||
/>
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user