diff options
author | dan <dan.abramov@gmail.com> | 2023-09-05 16:55:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 16:55:39 +0100 |
commit | be8084ae103064d5680485f25e202c763957f2b4 (patch) | |
tree | cc07eef82f689551340e6ef1242d068da2736726 /src | |
parent | 161746519c4c2bc82d08b9bb24c12e6b90ce6078 (diff) | |
download | voidsky-be8084ae103064d5680485f25e202c763957f2b4.tar.zst |
Fix mismatching button label for speech recognition (#1372)
* Fix mismatching a11y label * Update all new post button labels to match
Diffstat (limited to 'src')
-rw-r--r-- | src/view/screens/CustomFeed.tsx | 2 | ||||
-rw-r--r-- | src/view/screens/Feeds.tsx | 2 | ||||
-rw-r--r-- | src/view/screens/Home.tsx | 2 | ||||
-rw-r--r-- | src/view/screens/Profile.tsx | 2 | ||||
-rw-r--r-- | src/view/shell/desktop/LeftNav.tsx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/view/screens/CustomFeed.tsx b/src/view/screens/CustomFeed.tsx index e2b7e86e6..01d499dad 100644 --- a/src/view/screens/CustomFeed.tsx +++ b/src/view/screens/CustomFeed.tsx @@ -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> diff --git a/src/view/screens/Feeds.tsx b/src/view/screens/Feeds.tsx index 1ab59f736..7d45ce4c1 100644 --- a/src/view/screens/Feeds.tsx +++ b/src/view/screens/Feeds.tsx @@ -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> diff --git a/src/view/screens/Home.tsx b/src/view/screens/Home.tsx index 7262756d3..4f1ebe039 100644 --- a/src/view/screens/Home.tsx +++ b/src/view/screens/Home.tsx @@ -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> diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index 0b3745c30..a78650b3f 100644 --- a/src/view/screens/Profile.tsx +++ b/src/view/screens/Profile.tsx @@ -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> diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index eec55ee46..50d482fda 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -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 |