Closed PratibhaSomashekhara closed 1 year ago
Hi Team, Is there any update for this issue
Hi, A project for a company I currently work with is having the same issue as well. Is there an update for this issue? Thank you.
Same issue here
Hi Team, Is there any update for above issue. is Flatlist not ADA compatible on IOS ?
Also experiencing this issue - any insight?
I'm hitting this issue myself. Has there been any updates on this? Also, seems like this issue might be related/duplicate to/of #33714 ?
FWIW, I found the following entry in the react-native-community forum: Accessibility focus order in React Native, which has a workaround, but I believe it would be nice to have this as part of the react-native core.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Hello there, It seems that it has been fixed in the new arch.
You also can use react-native-a11y-order
, A11y.Group
should help with this issue.
import { A11y, IndexCommands } from 'react-native-a11y-order';
// ...
export default function App() {
return (
<ScrollView
style={styles.slider}
contentContainerStyle={styles.sliderContainer}
horizontal
>
<A11y.Group style={styles.slide}>
<View>
<Text>Title: 1</Text>
</View>
<View>
<Text>Desctiption: 1</Text>
</View>
</A11y.Group>
<A11y.Group style={styles.slide}>
<View>
<Text>Title: 2</Text>
</View>
<View>
<Text>Desctiption: 2</Text>
</View>
</A11y.Group>
</ScrollView>
);
Description: Voice over read out for Items which are rendered using flatlist is not in right order. issue can be reproduced only in IOS and in android it works fine. I have multiple interactive elements within column. imagine columns containing favorite icon, image, multiline text and add button. Expected behavior: it should first read out favorite icon, image, multiline text and add button from column 1 and then the same from 2nd column. Actual behavior: currently it is reading following order favorite icon (column 1 ) --> favorite icon (column 2) --> image (column 1 ) --> image(column 2)---> multiline text (column 1 ) --> multiline text(column 2) --> add button(column 1) --> add button(column 2)
I tried this for simple demo and issue is easily reproducible.
import { StyleSheet, View, Text, Image, TouchableOpacity, SafeAreaView, FlatList, Dimensions, } from 'react-native';
class App extends React.Component{ renderItem=({item,index})=>{ return(
}
const styles = StyleSheet.create({ container: { flex:1, marginVertical:20, }, container1: { flex: 1, }, item: { backgroundColor:"grey", alignItems:'center', justifyContent:'center', flex:1, margin:1, height:Dimensions.get('window').width/numColumns, }, itemText: { color:'#fff', paddingTop:5, }, itemText1: { flexDirection:'row', color:'red', paddingBottom:4, justifyContent:'flex-end' }, imageThumbnail: { justifyContent: 'center', alignItems: 'center', height: 100, }, button: { backgroundColor: '#DDDDDD', margin:4 }, });
export default App;