diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2025-02-12 06:07:00 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-11 13:07:00 -0800 |
commit | b1cc4a5e9fcf48a793dac6e6e941725aaa8b50f7 (patch) | |
tree | 2de6b8282e14f1f06d3263892c31397671cbb666 /src/components | |
parent | eabe3ed23112982a370291b3e1a26cf9754969a4 (diff) | |
download | voidsky-b1cc4a5e9fcf48a793dac6e6e941725aaa8b50f7.tar.zst |
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>
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ProgressGuide/FollowDialog.tsx | 2 | ||||
-rw-r--r-- | src/components/VideoPostCard.tsx | 2 | ||||
-rw-r--r-- | src/components/dms/dialogs/SearchablePeopleList.tsx | 2 | ||||
-rw-r--r-- | src/components/forms/HostingProvider.tsx | 4 | ||||
-rw-r--r-- | src/components/moderation/ContentHider.tsx | 6 | ||||
-rw-r--r-- | src/components/moderation/PostHider.tsx | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/src/components/ProgressGuide/FollowDialog.tsx b/src/components/ProgressGuide/FollowDialog.tsx index 288dcfe24..006f86574 100644 --- a/src/components/ProgressGuide/FollowDialog.tsx +++ b/src/components/ProgressGuide/FollowDialog.tsx @@ -762,7 +762,7 @@ function SearchInput({ autoComplete="off" autoCapitalize="none" accessibilityLabel={_(msg`Search profiles`)} - accessibilityHint={_(msg`Search profiles`)} + accessibilityHint={_(msg`Searches for profiles`)} /> </View> ) diff --git a/src/components/VideoPostCard.tsx b/src/components/VideoPostCard.tsx index 008274969..cad5eb234 100644 --- a/src/components/VideoPostCard.tsx +++ b/src/components/VideoPostCard.tsx @@ -112,7 +112,7 @@ export function VideoPostCard({ return ( <Link - accessibilityHint={_(msg`Tap to view video in immersive mode.`)} + accessibilityHint={_(msg`Views video in immersive mode`)} label={_(msg`Video from ${author.handle}: ${text}`)} to={{ screen: 'VideoFeed', diff --git a/src/components/dms/dialogs/SearchablePeopleList.tsx b/src/components/dms/dialogs/SearchablePeopleList.tsx index 50090cbcb..9e15e2ba8 100644 --- a/src/components/dms/dialogs/SearchablePeopleList.tsx +++ b/src/components/dms/dialogs/SearchablePeopleList.tsx @@ -505,7 +505,7 @@ function SearchInput({ autoCapitalize="none" autoFocus accessibilityLabel={_(msg`Search profiles`)} - accessibilityHint={_(msg`Search profiles`)} + accessibilityHint={_(msg`Searches for profiles`)} /> </View> ) diff --git a/src/components/forms/HostingProvider.tsx b/src/components/forms/HostingProvider.tsx index 221a759d5..95539cef6 100644 --- a/src/components/forms/HostingProvider.tsx +++ b/src/components/forms/HostingProvider.tsx @@ -47,7 +47,7 @@ export function HostingProvider({ </Text> <Button label={toNiceDomain(serviceUrl)} - accessibilityHint={_(msg`Press to change hosting provider`)} + accessibilityHint={_(msg`Changes hosting provider`)} onPress={onPressSelectService} variant="ghost" color="secondary" @@ -63,7 +63,7 @@ export function HostingProvider({ <Button testID="selectServiceButton" label={toNiceDomain(serviceUrl)} - accessibilityHint={_(msg`Press to change hosting provider`)} + accessibilityHint={_(msg`Changes hosting provider`)} variant="solid" color="secondary" style={[ diff --git a/src/components/moderation/ContentHider.tsx b/src/components/moderation/ContentHider.tsx index 69193592a..d3f74c0c5 100644 --- a/src/components/moderation/ContentHider.tsx +++ b/src/components/moderation/ContentHider.tsx @@ -146,10 +146,10 @@ function ContentHiderActive({ label={desc.name} accessibilityHint={ modui.noOverride - ? _(msg`Learn more about the moderation applied to this content.`) + ? _(msg`Learn more about the moderation applied to this content`) : override - ? _(msg`Hide the content`) - : _(msg`Show the content`) + ? _(msg`Hides the content`) + : _(msg`Shows the content`) }> {state => ( <View diff --git a/src/components/moderation/PostHider.tsx b/src/components/moderation/PostHider.tsx index 16d9127ff..246e30015 100644 --- a/src/components/moderation/PostHider.tsx +++ b/src/components/moderation/PostHider.tsx @@ -76,7 +76,7 @@ export function PostHider({ }} accessibilityRole="button" accessibilityHint={ - override ? _(msg`Hide the content`) : _(msg`Show the content`) + override ? _(msg`Hides the content`) : _(msg`Shows the content`) } accessibilityLabel="" style={[ |