FormidableLabs / eslint-plugin-react-native-a11y

React Native specific accessibility linting rules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecate accessibility-label

jpdriver opened this issue · comments

commented

Currently the accessibility-label rule is defined as:

Enforce that views that have accessible={true}, also have an accessibilityLabel prop

While generally good practice, there may be times when other props supply descriptive information instead of accessibilityLabel (e.g. accessibilityValue)

The plugin should not enforce the presence of accessibilityLabel in every scenario