diff options
author | Markus Amalthea Magnuson <markus@polyscopic.works> | 2023-06-26 19:14:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 12:14:51 -0500 |
commit | 1666a747eb346e3d6f9d64866881da4404fb3f56 (patch) | |
tree | c747f2cebe8990ef3858ace6ba695c1a3a41f25f /src | |
parent | 08804f265e6ff8ec600295772baf8a72cbf5150d (diff) | |
download | voidsky-1666a747eb346e3d6f9d64866881da4404fb3f56.tar.zst |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/view/screens/Profile.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index f50a2c45d..f51bda825 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={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />} + accessibilityRole="button" + accessibilityLabel="Compose post" + accessibilityHint="" /> </ScreenHider> ) |