Skip to content

Commit

Permalink
Fix mismatching button label for speech recognition (bluesky-social#1372
Browse files Browse the repository at this point in the history
)

* Fix mismatching a11y label

* Update all new post button labels to match
  • Loading branch information
gaearon authored Sep 5, 2023
1 parent 1617465 commit be8084a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/view/screens/CustomFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/view/screens/Feeds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/view/screens/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/view/screens/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/view/shell/desktop/LeftNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be8084a

Please sign in to comment.