Fix mismatching button label for speech recognition (#1372)
* Fix mismatching a11y label * Update all new post button labels to matchzio/stable
parent
161746519c
commit
be8084ae10
|
@ -508,7 +508,7 @@ export const CustomFeedScreenInner = observer(
|
||||||
onPress={onPressCompose}
|
onPress={onPressCompose}
|
||||||
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
|
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
|
||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel="Compose post"
|
accessibilityLabel="New post"
|
||||||
accessibilityHint=""
|
accessibilityHint=""
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
|
|
@ -125,7 +125,7 @@ export const FeedsScreen = withAuthRequired(
|
||||||
onPress={onPressCompose}
|
onPress={onPressCompose}
|
||||||
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
|
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
|
||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel="Compose post"
|
accessibilityLabel="New post"
|
||||||
accessibilityHint=""
|
accessibilityHint=""
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
|
|
@ -298,7 +298,7 @@ const FeedPage = observer(
|
||||||
onPress={onPressCompose}
|
onPress={onPressCompose}
|
||||||
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
|
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
|
||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel="Compose post"
|
accessibilityLabel="New post"
|
||||||
accessibilityHint=""
|
accessibilityHint=""
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
|
|
@ -284,7 +284,7 @@ export const ProfileScreen = withAuthRequired(
|
||||||
onPress={onPressCompose}
|
onPress={onPressCompose}
|
||||||
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
|
icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />}
|
||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel="Compose post"
|
accessibilityLabel="New post"
|
||||||
accessibilityHint=""
|
accessibilityHint=""
|
||||||
/>
|
/>
|
||||||
</ScreenHider>
|
</ScreenHider>
|
||||||
|
|
|
@ -177,7 +177,7 @@ function ComposeBtn() {
|
||||||
style={[styles.newPostBtn]}
|
style={[styles.newPostBtn]}
|
||||||
onPress={onPressCompose}
|
onPress={onPressCompose}
|
||||||
accessibilityRole="button"
|
accessibilityRole="button"
|
||||||
accessibilityLabel="Compose post"
|
accessibilityLabel="New post"
|
||||||
accessibilityHint="">
|
accessibilityHint="">
|
||||||
<View style={styles.newPostBtnIconWrapper}>
|
<View style={styles.newPostBtnIconWrapper}>
|
||||||
<ComposeIcon2
|
<ComposeIcon2
|
||||||
|
|
Loading…
Reference in New Issue