about summary refs log tree commit diff
diff options
context:
space:
mode:
authorrenahlee <renahlee@outlook.com>2023-05-18 17:29:46 -0700
committerrenahlee <renahlee@outlook.com>2023-05-18 17:31:57 -0700
commit2a5ac1a6de6315a2e7d9af8c86d132667e3fec4c (patch)
tree47d07066f79b15480b37d1ac588a0283d6695537
parent211fce47ce566fb5703be0019ba587150ff043b3 (diff)
downloadvoidsky-2a5ac1a6de6315a2e7d9af8c86d132667e3fec4c.tar.zst
Update labels for avatar
-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}