From 1666a747eb346e3d6f9d64866881da4404fb3f56 Mon Sep 17 00:00:00 2001 From: Markus Amalthea Magnuson Date: Mon, 26 Jun 2023 19:14:51 +0200 Subject: [PATCH] Add a11y details to profile page compose button. (#909) This adds accessibility role, label and hint to the compose button on profile pages, to match the same button in all other views. --- src/view/screens/Profile.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index f50a2c45..f51bda82 100644 --- a/src/view/screens/Profile.tsx +++ b/src/view/screens/Profile.tsx @@ -273,6 +273,9 @@ export const ProfileScreen = withAuthRequired( testID="composeFAB" onPress={onPressCompose} icon={} + accessibilityRole="button" + accessibilityLabel="Compose post" + accessibilityHint="" /> )