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
@@ -762,7 +762,7 @@ function SearchInput({
autoComplete="off"
autoCapitalize="none"
accessibilityLabel={_(msg`Search profiles`)}
accessibilityHint={_(msg`Search profiles`)}
accessibilityHint={_(msg`Searches for profiles`)}
/>
</View>
)
+1 -1
View File
@@ -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',
@@ -505,7 +505,7 @@ function SearchInput({
autoCapitalize="none"
autoFocus
accessibilityLabel={_(msg`Search profiles`)}
accessibilityHint={_(msg`Search profiles`)}
accessibilityHint={_(msg`Searches for profiles`)}
/>
</View>
)
+2 -2
View File
@@ -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={[
+3 -3
View File
@@ -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
+1 -1
View File
@@ -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={[