diff options
Diffstat (limited to 'src/view/com/util/post-ctrls/PostCtrls.tsx')
-rw-r--r-- | src/view/com/util/post-ctrls/PostCtrls.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/com/util/post-ctrls/PostCtrls.tsx b/src/view/com/util/post-ctrls/PostCtrls.tsx index 0972c17cc..2cc45617f 100644 --- a/src/view/com/util/post-ctrls/PostCtrls.tsx +++ b/src/view/com/util/post-ctrls/PostCtrls.tsx @@ -256,6 +256,7 @@ let PostCtrls = ({ requireAuth(() => onPressReply()) } }} + accessibilityRole="button" accessibilityLabel={plural(post.replyCount || 0, { one: 'Reply (# reply)', other: 'Reply (# replies)', @@ -293,6 +294,7 @@ let PostCtrls = ({ testID="likeBtn" style={btnStyle} onPress={() => requireAuth(() => onPressToggleLike())} + accessibilityRole="button" accessibilityLabel={ post.viewer?.like ? plural(post.likeCount || 0, { @@ -332,6 +334,7 @@ let PostCtrls = ({ onShare() } }} + accessibilityRole="button" accessibilityLabel={_(msg`Share`)} accessibilityHint="" hitSlop={POST_CTRL_HITSLOP}> |