Refine accessibilityHint (#7554)

* `accessibilityHint`

* accessibilityHint

* Update

Co-Authored-By: jason-me <mail@jason-hester.me>

* Update LoginForm.tsx

---------

Co-authored-by: jason-me <mail@jason-hester.me>
This commit is contained in:
Minseo Lee
2025-02-12 06:07:00 +09:00
committed by GitHub
parent eabe3ed231
commit b1cc4a5e9f
28 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -1007,7 +1007,7 @@ function ErrorScreen({error}: {error: string}) {
<Button
type="default"
accessibilityLabel={_(msg`Go back`)}
accessibilityHint={_(msg`Return to previous page`)}
accessibilityHint={_(msg`Returns to previous page`)}
onPress={onPressBack}
style={{flexShrink: 1}}>
<Text type="button" style={pal.text}>
+2 -2
View File
@@ -807,7 +807,7 @@ export function SearchScreen(
hitSlop={HITSLOP_10}
label={_(msg`Menu`)}
accessibilityHint={_(
msg`Access navigation links and settings`,
msg`Provides access to navigation links and settings`,
)}
size="large"
variant="solid"
@@ -1033,7 +1033,7 @@ function SearchHistory({
accessibilityRole="button"
accessibilityLabel={_(msg`Remove profile`)}
accessibilityHint={_(
msg`Remove profile from search history`,
msg`Removes profile from search history`,
)}
onPress={() => onRemoveProfileClick(profile)}
hitSlop={createHitslop(6)}