Skip to content

Add ToggleButton accessibility role  #7856

Description

react/react-native@da899c0 added the ToggleButton role for Android - do we want to bring this to RNW? Currently we do this:

case winrt::Microsoft::ReactNative::AccessibilityRoles::Switch: // Both ToggleSwitch and ToggleButton return "Button"
    return winrt::AutomationControlType::Button;                                                    

vnext/Microsoft.ReactNative/Views/DynamicAutomationPeer.cpp#L52

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions