accessibilityLabel

zio/stable
Minseo Lee 2024-02-24 18:29:01 +09:00
parent 7a920d2eb4
commit 5809dd0624
3 changed files with 4 additions and 4 deletions

View File

@ -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}
/>

View File

@ -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}}>

View File

@ -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}}>