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.
This commit is contained in:
committed by
GitHub
parent
08804f265e
commit
1666a747eb
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user