From 8b00f547e21180c7442d0a5f9d575d9ad96af26e Mon Sep 17 00:00:00 2001 From: Matt Alexander <1710128+quiqueg@users.noreply.github.com> Date: Mon, 16 May 2022 15:33:09 -0700 Subject: [PATCH] Fix links in has-accessibility-props rule docs Previous links end up at a 404 page. The `accessibilityTraits` and `accessibilityComponentType` props are no longer documented in the official docs, so I've updated their links with a new link to the relevant blog post which explains the API change. --- docs/rules/has-accessibility-props.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/rules/has-accessibility-props.md b/docs/rules/has-accessibility-props.md index 7c44b98..40b00ef 100644 --- a/docs/rules/has-accessibility-props.md +++ b/docs/rules/has-accessibility-props.md @@ -15,9 +15,8 @@ Touchable components are one of: ### References -1. https://facebook.github.io/react-native/docs/accessibility.html#accessibilityrole-ios-android -2. https://facebook.github.io/react-native/docs/accessibility.html#accessibilitytraits-ios -3. https://facebook.github.io/react-native/docs/accessibility.html#accessibilitycomponenttype-android +1. https://reactnative.dev/docs/accessibility#accessibilityrole +2. https://reactnative.dev/blog/2018/08/13/react-native-accessibility-updates ## Rule details