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
+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={[