Add support for IToggleProvider #13329
Labels
Area: Accessibility
Area: Fabric
Support Facebook Fabric
enhancement
New Architecture
Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric
Milestone
Documentation
IToggleProvider documentation: https://learn.microsoft.com/en-us/windows/win32/api/uiautomationcore/nn-uiautomationcore-itoggleprovider
Behavior
Components of control type CheckBox must implement the IToggleProvider. Components of control type Button, ListItem, MenuItem, and TreeItem should conditionally implement the IToggleProvider (See Documentation: https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-controlpatternmapping). The toggle state of the control should be used as input for the IToggleProvider data.
Implementation Plan
We should:
Implement the IToggleProvider APIs in CompositionDynamicAutomationProvider.
Set the list of controls who implement the IToggleProvider to be Button, ListItem, MenuItem, and TreeItem under certain conditions. To get more information on the conditions visit the page for the individual UIA control types.
For additional reference, see implementation of another provider on Fabric: #11874
To Be Clarified
The text was updated successfully, but these errors were encountered: