Improve accessibility for navigation on web (#6120)
* improve accessibility for bottom bar tabs * improve a11y for left nav * group main content into <main> * use flex_1 rather than absoluteFill
This commit is contained in:
@@ -200,7 +200,7 @@ export function BottomBar({navigation}: BottomTabBarProps) {
|
||||
accessibilityLabel={_(msg`Chat`)}
|
||||
accessibilityHint={
|
||||
numUnreadMessages.count > 0
|
||||
? `${numUnreadMessages.numUnread} unread`
|
||||
? _(msg`${numUnreadMessages.numUnread} unread items`)
|
||||
: ''
|
||||
}
|
||||
/>
|
||||
@@ -227,7 +227,7 @@ export function BottomBar({navigation}: BottomTabBarProps) {
|
||||
accessibilityHint={
|
||||
numUnreadNotifications === ''
|
||||
? ''
|
||||
: `${numUnreadNotifications} unread`
|
||||
: _(msg`${numUnreadNotifications} unread items`)
|
||||
}
|
||||
/>
|
||||
<Btn
|
||||
|
||||
Reference in New Issue
Block a user