react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

Update Guardrails on Provider Instantiation

Open chiaramooney opened this issue 1 year ago • 2 comments

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

chiaramooney avatar Oct 11 '24 19:10 chiaramooney

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.

acoates-ms avatar Oct 11 '24 23:10 acoates-ms

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

chiaramooney avatar Oct 14 '24 18:10 chiaramooney