Update labels for avatar

zio/stable
renahlee 2023-05-18 17:29:46 -07:00
parent 211fce47ce
commit 2a5ac1a6de
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}