Skip to content

Commit cf38f88

Browse files
authored
Merge pull request Expensify#81063 from TaduJR/fix-Screen-Reader-Many-Pages-Elements-are-focused-in-a-confusing-order
fix: Screen Reader: Many Pages: Elements are focused in a confusing order
2 parents 181547f + 64554de commit cf38f88

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/styles/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2139,6 +2139,12 @@ const staticStyles = (theme: ThemeColors) =>
21392139
flexGrow: 1,
21402140
flexShrink: 1,
21412141
}),
2142+
2143+
// On iOS, negative margin adjusts frame position for correct VoiceOver focus order. See #77499.
2144+
...(Platform.OS === 'ios' && {
2145+
marginTop: -5,
2146+
paddingTop: 5,
2147+
}),
21422148
},
21432149
0,
21442150
),

0 commit comments

Comments
 (0)