Update Guardrails on Provider Instantiation
Description
Why
Update guardrails for UIA provider instantiation following this thread (#13934).
Resolves #13934
What
Providers are no longer conditionally implemented based on role type. Providers will be implemented when accessibility props indicating provider behavior are submitted or when the controls uses a native component view that inherently supports the provider such as WindowsTextInputComponentView (ValueProvider) and SwitchComponentView (ToggleProvider)
Changelog
Should this change be included in the release notes: No
Microsoft Reviewers: Open in CodeFlow
I think is even worse. With this it would be impossible to write a JS RN component that provides a toggle pattern. Ex: FURN's JS checkbox will be unable to have the correct accessibility information.
I think is even worse. With this it would be impossible to write a JS RN component that provides a toggle pattern. Ex: FURN's JS checkbox will be unable to have the correct accessibility information.
This will be resolved with this PR https://github.com/microsoft/react-native-windows/pull/13962. I haven't added the behavior to support the accessibilityState 'checked' which is needed for that case. @acoates-ms