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} style={styles.tabBarAvi}
onPress={onPressAvi} onPress={onPressAvi}
accessibilityRole="button" accessibilityRole="button"
accessibilityLabel="Open navigation" accessibilityLabel="Menu"
accessibilityHint="Access profile and other navigation links"> accessibilityHint="Access navigation links and settings">
<UserAvatar avatar={store.me.avatar} size={30} /> <UserAvatar avatar={store.me.avatar} size={30} />
</TouchableOpacity> </TouchableOpacity>
<TabBar <TabBar

View File

@ -56,8 +56,8 @@ export function HeaderWithInput({
hitSlop={MENU_HITSLOP} hitSlop={MENU_HITSLOP}
style={styles.headerMenuBtn} style={styles.headerMenuBtn}
accessibilityRole="button" accessibilityRole="button"
accessibilityLabel="Back" accessibilityLabel="Menu"
accessibilityHint=""> accessibilityHint="Access navigation links and settings">
<UserAvatar size={30} avatar={store.me.avatar} /> <UserAvatar size={30} avatar={store.me.avatar} />
</TouchableOpacity> </TouchableOpacity>
<View <View

View File

@ -65,7 +65,9 @@ export const ViewHeader = observer(function ({
style={canGoBack ? styles.backBtn : styles.backBtnWide} style={canGoBack ? styles.backBtn : styles.backBtnWide}
accessibilityRole="button" accessibilityRole="button"
accessibilityLabel={canGoBack ? 'Back' : 'Menu'} accessibilityLabel={canGoBack ? 'Back' : 'Menu'}
accessibilityHint=""> accessibilityHint={
canGoBack ? '' : 'Access navigation links and settings'
}>
{canGoBack ? ( {canGoBack ? (
<FontAwesomeIcon <FontAwesomeIcon
size={18} size={18}