Add support for IValueProvider #13328
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
Workstream: Accessibility
Ensure RNW Fabric apps are properly accessible.
Milestone
Documentation
IValueProvider Documentation: https://learn.microsoft.com/en-us/windows/win32/api/uiautomationcore/nn-uiautomationcore-ivalueprovider
Behavior
Components of control type Slider, ProgressBar, Hyperlink, and Button should have conditional support for the UIA IValueProvider (Documentation: https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-controlpatternmapping). Value for IValueProvider should be supplied by the
accessibilityValue
property (if this property was specified). See #12510 for issue for accessibilityValue specification.Implementation Plan
We should:
Implement the IValueProvider APIs in CompositionDynamicAutomationProvider.
Set the list of controls who implement the IValueProvider to be Slider, ProgressBar, Hyperlink, and Button under certain conditions. To get more information on the conditions visit the page for the individual UIA control types.
For addition reference, see implementation of other provider on Fabric: #11874
To Be Clarified
Q: Are there scenarios where accessibilityValue should have a default value for a control, or should it only take a value when the
accessibilitValue
was specified?A: It appears from the UIA documentation that there are no controls where an accessibility value is required. There are only controls where conditionally there should be an accessibility value.
Implementation
The text was updated successfully, but these errors were encountered: