File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -326,9 +326,9 @@ const createDrawerNavigator = () => {
326326 </ DrawerNavigator >
327327 ) ;
328328 } ,
329- Screen : ( { component, name, ... props } : DrawerScreenProps ) => {
329+ Screen : ( { component, name, key } : DrawerScreenProps ) => {
330330 return (
331- < DrawerScreen { ... props } name = { name } component = { component } />
331+ < DrawerScreen key = { key } name = { name } component = { component } />
332332 ) ;
333333 } ,
334334 } ;
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ export function ScreenWrapper({
8383 // accessibilityRole="button"
8484 accessibilityLabel = "Navigation bar"
8585 accessibilityState = { { expanded : isDrawerOpen } }
86+ accessibilityLiveRegion = 'assertive'
8687 // accessibilityHint={isDrawerOpen ? 'Tap to collapse navigation menu' : 'Tap to expand navigation menu'}
8788 // tooltip={isDrawerOpen ? 'Tap to collapse navigation menu' : 'Tap to expand navigation menu'}
8889 // requires react-native-gesture-handler to be imported in order to pass testing.
@@ -96,6 +97,7 @@ export function ScreenWrapper({
9697 < TouchableHighlight
9798 accessibilityRole = "button"
9899 accessibilityLabel = "Navigation menu"
100+ tooltip = { 'Expand navigation menu' }
99101 // requires react-native-gesture-handler to be imported in order to pass testing.
100102 // blocked by #125
101103 //accessibilityState={{expanded: useIsDrawerOpen()}}
You can’t perform that action at this time.
0 commit comments