FormidableLabs / eslint-plugin-react-native-a11y

React Native specific accessibility linting rules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecate has-accessibility-props

jpdriver opened this issue · comments

commented

Currently we enforce that all Touchable*s must have either accessibilityRole or both accessibilityTraits and accessibilityComponentType.

It is actually valid to have a Touchable without either in certain scenarios; so this rule should be changed to enforce that you are using the props correctly only in cases where you have included them.