about summary refs log tree commit diff
path: root/src/view/com/util/ViewHeader.tsx
diff options
context:
space:
mode:
authorOllie H <renahlee@outlook.com>2023-05-03 22:53:49 -0700
committerGitHub <noreply@github.com>2023-05-04 00:53:49 -0500
commit011baa78c10cc38d98795fb87a0e54c14a657791 (patch)
treef79d91de53d00f8019ba77256e630f6acec958bc /src/view/com/util/ViewHeader.tsx
parent0f68e6a6ffca94239630801eaaed9a9531d5cef2 (diff)
downloadvoidsky-011baa78c10cc38d98795fb87a0e54c14a657791.tar.zst
a11y label cleanup (#576)
Diffstat (limited to 'src/view/com/util/ViewHeader.tsx')
-rw-r--r--src/view/com/util/ViewHeader.tsx8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/view/com/util/ViewHeader.tsx b/src/view/com/util/ViewHeader.tsx
index 9c85cfa24..7f5b5b7c2 100644
--- a/src/view/com/util/ViewHeader.tsx
+++ b/src/view/com/util/ViewHeader.tsx
@@ -62,12 +62,8 @@ export const ViewHeader = observer(function ({
           hitSlop={BACK_HITSLOP}
           style={canGoBack ? styles.backBtn : styles.backBtnWide}
           accessibilityRole="button"
-          accessibilityLabel={canGoBack ? 'Go back' : 'Go to menu'}
-          accessibilityHint={
-            canGoBack
-              ? 'Navigates to the previous screen'
-              : 'Navigates to the menu'
-          }>
+          accessibilityLabel={canGoBack ? 'Back' : 'Menu'}
+          accessibilityHint="">
           {canGoBack ? (
             <FontAwesomeIcon
               size={18}