eslint-plugin-react-native-a11y icon indicating copy to clipboard operation
eslint-plugin-react-native-a11y copied to clipboard

React Native specific accessibility linting rules.

Results 18 eslint-plugin-react-native-a11y issues
Sort by recently updated
recently updated
newest added

### Is there an existing issue for this? - [X] I have searched the existing issues ### Code of Conduct - [X] I agree to follow this project's Code of...

bug

Encountering the following error: ``` Missing a11y props. Expected one of: accessibilityRole OR BOTH accessibilityLabel + accessibilityHint OR BOTH accessibilityActions + onAccessibilityAction ``` Despite having a valid `role` value, this...

Closes https://github.com/FormidableLabs/eslint-plugin-react-native-a11y/issues/151 [role](https://reactnative.dev/docs/accessibility#role) prop has precedence over the [accessibilityRole](https://reactnative.dev/docs/accessibility#accessibilityrole) This PR will add support for the `role` prop and add tests for it.

Just wondered if there will be any update to support [pressable](https://reactnative.dev/docs/pressable) component? It seems more and more react native projects are moving away from touchable Would be great if the...

From your [documentation](https://github.com/FormidableLabs/eslint-plugin-react-native-a11y/blob/HEAD/docs/rules/has-accessibility-hint.md) "An accessibility hint helps users understand what will happen when they perform an action on the accessibility element **when that result is not apparent from the accessibility...

Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies

When `accessibilityState` prop is defined as an inline object with destructured object within it, this rule crashes. `accessibilityState={{ ...accessibilityState, disabled }}` Here's the error message: ![photo_2022-09-27_12-09-56](https://user-images.githubusercontent.com/22678765/192498966-fe2b90d7-e5a9-48b0-94c2-9564f9cf911b.jpg) I was able to...

Previous links end up at a 404 page. The `accessibilityTraits` and `accessibilityComponentType` props are no longer documented in the official docs, so I've replaced their links with a new link...

In short - the `has-valid-accessibility-descriptors`'s rule's error message is static text that doesn't take into account the config's settings on whether `accessibilityHint` is actually required with `accessibilityLabel`. --- We have...