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:
@@ -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
|
||||
|
||||
@@ -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={[
|
||||
|
||||
Reference in New Issue
Block a user