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