mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove deprecated accessibilityStates property. (#26168)
Summary: We added the accessibilityState property as a more semantically rich way for components to describe information about their state to accessibility services. This PR removes the old accessibilityStates property. <!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? --> ## Changelog [General] [Change] - Remove accessibilityStates property. Pull Request resolved: https://github.com/facebook/react-native/pull/26168 Test Plan: Ensure that RNTester accessibility examples function properly on both iOS and Android. Differential Revision: D17152891 Pulled By: cpojer fbshipit-source-id: d71d3cf0f2e0846979d2ba104b6c69e4e5725252
This commit is contained in:
committed by
Facebook Github Bot
parent
0165489b8f
commit
7b35f427fd
@@ -139,7 +139,6 @@ public class ViewProps {
|
||||
public static final String ACCESSIBILITY_HINT = "accessibilityHint";
|
||||
public static final String ACCESSIBILITY_LIVE_REGION = "accessibilityLiveRegion";
|
||||
public static final String ACCESSIBILITY_ROLE = "accessibilityRole";
|
||||
public static final String ACCESSIBILITY_STATES = "accessibilityStates";
|
||||
public static final String ACCESSIBILITY_STATE = "accessibilityState";
|
||||
public static final String ACCESSIBILITY_ACTIONS = "accessibilityActions";
|
||||
public static final String IMPORTANT_FOR_ACCESSIBILITY = "importantForAccessibility";
|
||||
|
||||
Reference in New Issue
Block a user