accessibilityLabel
parent
7a920d2eb4
commit
5809dd0624
|
@ -51,8 +51,8 @@ export const NotFoundScreen = () => {
|
|||
</Text>
|
||||
<Button
|
||||
type="primary"
|
||||
label={canGoBack ? _(msg`Go back`) : _(msg`Go home`)}
|
||||
accessibilityLabel={canGoBack ? _(msg`Go Back`) : _(msg`Go home`)}
|
||||
label={canGoBack ? _(msg`Go Back`) : _(msg`Go Home`)}
|
||||
accessibilityLabel={canGoBack ? _(msg`Go back`) : _(msg`Go home`)}
|
||||
accessibilityHint={canGoBack ? _(msg`Returns to previous page`) : _(msg`Returns to home page`)}
|
||||
onPress={onPressHome}
|
||||
/>
|
||||
|
|
|
@ -103,7 +103,7 @@ export function ProfileFeedScreen(props: Props) {
|
|||
<View style={{flexDirection: 'row'}}>
|
||||
<Button
|
||||
type="default"
|
||||
accessibilityLabel={_(msg`Go Back`)}
|
||||
accessibilityLabel={_(msg`Go back`)}
|
||||
accessibilityHint={_(msg`Returns to previous page`)}
|
||||
onPress={onPressBack}
|
||||
style={{flexShrink: 1}}>
|
||||
|
|
|
@ -894,7 +894,7 @@ function ErrorScreen({error}: {error: string}) {
|
|||
<View style={{flexDirection: 'row'}}>
|
||||
<Button
|
||||
type="default"
|
||||
accessibilityLabel={_(msg`Go Back`)}
|
||||
accessibilityLabel={_(msg`Go back`)}
|
||||
accessibilityHint={_(msg`Return to previous page`)}
|
||||
onPress={onPressBack}
|
||||
style={{flexShrink: 1}}>
|
||||
|
|
Loading…
Reference in New Issue