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