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
+2 -2
View File
@@ -800,7 +800,7 @@ function Overlay({
: _(msg`Follow ${handle}`)
}
accessibilityHint={
profile.viewer?.following ? _(msg`Unfollow user`) : ''
profile.viewer?.following ? _(msg`Unfollows the user`) : ''
}
size="small"
variant="solid"
@@ -930,7 +930,7 @@ function ExpandableRichTextView({
/>
{constrained && !screenReaderEnabled && (
<Pressable
accessibilityHint={_(msg`Tap to expand or collapse post text.`)}
accessibilityHint={_(msg`Expands or collapses post text`)}
accessibilityLabel={expanded ? _(msg`Read less`) : _(msg`Read more`)}
hitSlop={HITSLOP_20}
onPress={() => setExpanded(prev => !prev)}