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

Defer the initialization of accessibility providers

Open vineethkuttan opened this issue 8 months ago • 0 comments

https://github.com/microsoft/react-native-windows/blob/aa48a7a281bfac19101c151949a252d77b953dee/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.cpp#L34-L44

If the UIA agent does not request these patterns we shouldn't create these providers. But we are trying to create these providers in the constructor itself.

Changes required:

Move the above part of code to here, where we can create the providers, only if the UIA request for it.

https://github.com/microsoft/react-native-windows/blob/aa48a7a281bfac19101c151949a252d77b953dee/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.cpp#L282-L295

vineethkuttan avatar May 07 '25 04:05 vineethkuttan