I am using accessibility scanner to check accessibility of my app.
It found that labels in my form are not readable by screen readers. I googled all day, but didn't find one example of how to do this. any help? My form code:
import React, { Component } from 'react';
import { TextInput } from 'react-native';
const MakemeAccessible= () => {
const [value, onChangeText] = React.useState('');
return (
<Text>Username</Text>
<TextInput
style={{ height: 40, borderColor: 'gray', borderWidth: 1 }}
onChangeText={text => onChangeText(text)}
value={value}
/>
);
}
export default UselessTextInput;
