about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorOllie H <renahlee@outlook.com>2023-05-18 21:09:39 -0700
committerGitHub <noreply@github.com>2023-05-18 21:09:39 -0700
commit15c1b6ee157471807a723161066ba4ce5e12c0b5 (patch)
tree47d07066f79b15480b37d1ac588a0283d6695537 /src
parent211fce47ce566fb5703be0019ba587150ff043b3 (diff)
parent2a5ac1a6de6315a2e7d9af8c86d132667e3fec4c (diff)
downloadvoidsky-15c1b6ee157471807a723161066ba4ce5e12c0b5.tar.zst
Merge pull request #744 from bluesky-social/ollie/693
Update labels for avatar
Diffstat (limited to 'src')
-rw-r--r--src/view/com/pager/FeedsTabBarMobile.tsx4
-rw-r--r--src/view/com/search/HeaderWithInput.tsx4
-rw-r--r--src/view/com/util/ViewHeader.tsx4
3 files changed, 7 insertions, 5 deletions
diff --git a/src/view/com/pager/FeedsTabBarMobile.tsx b/src/view/com/pager/FeedsTabBarMobile.tsx
index 725c44603..b42ffe726 100644
--- a/src/view/com/pager/FeedsTabBarMobile.tsx
+++ b/src/view/com/pager/FeedsTabBarMobile.tsx
@@ -39,8 +39,8 @@ export const FeedsTabBar = observer(
           style={styles.tabBarAvi}
           onPress={onPressAvi}
           accessibilityRole="button"
-          accessibilityLabel="Open navigation"
-          accessibilityHint="Access profile and other navigation links">
+          accessibilityLabel="Menu"
+          accessibilityHint="Access navigation links and settings">
           <UserAvatar avatar={store.me.avatar} size={30} />
         </TouchableOpacity>
         <TabBar
diff --git a/src/view/com/search/HeaderWithInput.tsx b/src/view/com/search/HeaderWithInput.tsx
index 7a9e0cc62..f5829c02f 100644
--- a/src/view/com/search/HeaderWithInput.tsx
+++ b/src/view/com/search/HeaderWithInput.tsx
@@ -56,8 +56,8 @@ export function HeaderWithInput({
         hitSlop={MENU_HITSLOP}
         style={styles.headerMenuBtn}
         accessibilityRole="button"
-        accessibilityLabel="Back"
-        accessibilityHint="">
+        accessibilityLabel="Menu"
+        accessibilityHint="Access navigation links and settings">
         <UserAvatar size={30} avatar={store.me.avatar} />
       </TouchableOpacity>
       <View
diff --git a/src/view/com/util/ViewHeader.tsx b/src/view/com/util/ViewHeader.tsx
index 97802394e..b99c61c23 100644
--- a/src/view/com/util/ViewHeader.tsx
+++ b/src/view/com/util/ViewHeader.tsx
@@ -65,7 +65,9 @@ export const ViewHeader = observer(function ({
           style={canGoBack ? styles.backBtn : styles.backBtnWide}
           accessibilityRole="button"
           accessibilityLabel={canGoBack ? 'Back' : 'Menu'}
-          accessibilityHint="">
+          accessibilityHint={
+            canGoBack ? '' : 'Access navigation links and settings'
+          }>
           {canGoBack ? (
             <FontAwesomeIcon
               size={18}