Add more descriptive a11y label to button

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
This commit is contained in:
Eric Bailey
2025-08-13 17:31:08 -05:00
committed by Samuel Newman
parent 4b0be80f50
commit 2fc05e29c3
+6 -1
View File
@@ -476,7 +476,12 @@ export function SelectMediaButton({
<Button
testID="openMediaBtn"
onPress={onPressSelectMedia}
label={_(msg`Media`)}
label={_(
msg({
message: `Add media to post`,
comment: `Accessibility label for button in composer to add photos or a video to a post`,
}),
)}
accessibilityHint={_(
msg`Opens device gallery to select images, a video, or a GIF.`,
)}