diff options
author | Ollie H <renahlee@outlook.com> | 2023-05-03 22:53:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 00:53:49 -0500 |
commit | 011baa78c10cc38d98795fb87a0e54c14a657791 (patch) | |
tree | f79d91de53d00f8019ba77256e630f6acec958bc /src/view/com/util/ViewHeader.tsx | |
parent | 0f68e6a6ffca94239630801eaaed9a9531d5cef2 (diff) | |
download | voidsky-011baa78c10cc38d98795fb87a0e54c14a657791.tar.zst |
a11y label cleanup (#576)
Diffstat (limited to 'src/view/com/util/ViewHeader.tsx')
-rw-r--r-- | src/view/com/util/ViewHeader.tsx | 8 |
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} |