Fix mismatching button label for speech recognition (#1372)

* Fix mismatching a11y label

* Update all new post button labels to match
zio/stable
dan 2023-09-05 16:55:39 +01:00 committed by GitHub
parent 161746519c
commit be8084ae10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -508,7 +508,7 @@ export const CustomFeedScreenInner = observer(
onPress={onPressCompose}
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
accessibilityRole="button"
accessibilityLabel="Compose post"
accessibilityLabel="New post"
accessibilityHint=""
/>
</View>

View File

@ -125,7 +125,7 @@ export const FeedsScreen = withAuthRequired(
onPress={onPressCompose}
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
accessibilityRole="button"
accessibilityLabel="Compose post"
accessibilityLabel="New post"
accessibilityHint=""
/>
</View>

View File

@ -298,7 +298,7 @@ const FeedPage = observer(
onPress={onPressCompose}
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
accessibilityRole="button"
accessibilityLabel="Compose post"
accessibilityLabel="New post"
accessibilityHint=""
/>
</View>

View File

@ -284,7 +284,7 @@ export const ProfileScreen = withAuthRequired(
onPress={onPressCompose}
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
accessibilityRole="button"
accessibilityLabel="Compose post"
accessibilityLabel="New post"
accessibilityHint=""
/>
</ScreenHider>

View File

@ -177,7 +177,7 @@ function ComposeBtn() {
style={[styles.newPostBtn]}
onPress={onPressCompose}
accessibilityRole="button"
accessibilityLabel="Compose post"
accessibilityLabel="New post"
accessibilityHint="">
<View style={styles.newPostBtnIconWrapper}>
<ComposeIcon2