You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The markdown is not supporting accessibility(https://reactnative.dev/docs/accessibility) tags. Basically I want to add focus (accessible={true}) for link elements inside the markdown tag, But there is no way to do it.
The text was updated successfully, but these errors were encountered:
The children components will respect the parent accessibility role. Which in this case will always be Text.
What you can do is to set the parent component to not have any accessibility role, so that the children components can have their own accessibility props.
In the rules props function, just return the textgroup as react fragment
I've wrap the component with and it works
i.e. return ( <View accessible> <Text key={node.key} accessibilityRole="link" onPress={() => onPress()}> {content} </Text> </View>
The markdown is not supporting accessibility(https://reactnative.dev/docs/accessibility) tags. Basically I want to add focus
(accessible={true})
for link elements inside the markdown tag, But there is no way to do it.The text was updated successfully, but these errors were encountered: