mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
improve accessibility for menu header
This commit is contained in:
@@ -160,7 +160,13 @@ const Menu = ( ) => {
|
||||
{/* Header */}
|
||||
<Pressable
|
||||
testID="menu-header"
|
||||
accessible
|
||||
accessibilityRole="button"
|
||||
accessibilityHint={
|
||||
currentUser
|
||||
? t( "Navigates-to-user-profile" )
|
||||
: t( "Navigates-to-log-in-screen" )
|
||||
}
|
||||
className="px-[26px] pt-[68px] pb-[31px] border-b border-lightGray"
|
||||
onPress={( ) => {
|
||||
if ( !currentUser ) {
|
||||
|
||||
@@ -751,6 +751,7 @@ Navigates-to-AI-camera = Navigates to AI camera
|
||||
Navigates-to-bulk-importer = Navigates to bulk importer
|
||||
Navigates-to-camera = Navigates to camera
|
||||
Navigates-to-explore = Navigates to explore
|
||||
Navigates-to-log-in-screen = Navigates to log in screen
|
||||
Navigates-to-main-menu = Navigates to main menu.
|
||||
Navigates-to-match-screen = Navigates to match screen
|
||||
Navigates-to-notifications = Navigates to notifications
|
||||
@@ -1141,7 +1142,6 @@ Show-observation-options = Show observation options.
|
||||
Showing-offline-search-results--taxa = Showing offline search results. To search for more species, try again when connected to the Internet.
|
||||
# Label for button that shows identification suggestions
|
||||
Shows-identification-suggestions = Shows identification suggestions
|
||||
Shows-iNaturalist-bird-logo = Shows iNaturalist bird logo.
|
||||
# Accessibility hint for button that shows observation creation options
|
||||
Shows-observation-creation-options = Shows observation creation options
|
||||
# Accessibility label for a button that allows user to sign in with their Apple account
|
||||
|
||||
@@ -436,6 +436,7 @@
|
||||
"Navigates-to-bulk-importer": "Navigates to bulk importer",
|
||||
"Navigates-to-camera": "Navigates to camera",
|
||||
"Navigates-to-explore": "Navigates to explore",
|
||||
"Navigates-to-log-in-screen": "Navigates to log in screen",
|
||||
"Navigates-to-main-menu": "Navigates to main menu.",
|
||||
"Navigates-to-match-screen": "Navigates to match screen",
|
||||
"Navigates-to-notifications": "Navigates to notifications",
|
||||
@@ -716,7 +717,6 @@
|
||||
"Show-observation-options": "Show observation options.",
|
||||
"Showing-offline-search-results--taxa": "Showing offline search results. To search for more species, try again when connected to the Internet.",
|
||||
"Shows-identification-suggestions": "Shows identification suggestions",
|
||||
"Shows-iNaturalist-bird-logo": "Shows iNaturalist bird logo.",
|
||||
"Shows-observation-creation-options": "Shows observation creation options",
|
||||
"Sign-in-with-Apple": "Sign in with Apple",
|
||||
"Sign-in-with-Apple-Failed": "Sign in with Apple Failed",
|
||||
|
||||
@@ -751,6 +751,7 @@ Navigates-to-AI-camera = Navigates to AI camera
|
||||
Navigates-to-bulk-importer = Navigates to bulk importer
|
||||
Navigates-to-camera = Navigates to camera
|
||||
Navigates-to-explore = Navigates to explore
|
||||
Navigates-to-log-in-screen = Navigates to log in screen
|
||||
Navigates-to-main-menu = Navigates to main menu.
|
||||
Navigates-to-match-screen = Navigates to match screen
|
||||
Navigates-to-notifications = Navigates to notifications
|
||||
@@ -1141,7 +1142,6 @@ Show-observation-options = Show observation options.
|
||||
Showing-offline-search-results--taxa = Showing offline search results. To search for more species, try again when connected to the Internet.
|
||||
# Label for button that shows identification suggestions
|
||||
Shows-identification-suggestions = Shows identification suggestions
|
||||
Shows-iNaturalist-bird-logo = Shows iNaturalist bird logo.
|
||||
# Accessibility hint for button that shows observation creation options
|
||||
Shows-observation-creation-options = Shows observation creation options
|
||||
# Accessibility label for a button that allows user to sign in with their Apple account
|
||||
|
||||
Reference in New Issue
Block a user