TSLint React Native Accessibility rules
TSLint rules to enhance accessibility in React Native apps. TSLint.
Usage
{
"extends": ["tslint:latest", "@q42/tslint-react-native-a11y"],
"rules": {
// override tslint-react-native-a11y rules here
}
}
Rules
-
tsx-a11y-touchables
- Enforces you to set either
accessible={false}
or setaccessible={true}
withaccessibilityRole={}
andaccessibilityLabel={}
as well.
- Enforces you to set either