Merge pull request #744 from bluesky-social/ollie/693

Update labels for avatar
zio/stable
Ollie H 2023-05-18 21:09:39 -07:00 committed by GitHub
commit 15c1b6ee15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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}