uiautomationprovider.dll Error in Windows 10 and 11: WPF accessibility provider load errors

A WPF app opens but a screen reader or test tool cannot reach a custom control, and the app reports UIAutomationProvider.dll.
What this DLL does
UIAutomationProvider contains types used by WPF control providers to expose accessibility information to automation clients.
Start with this check
Check whether built-in controls are visible to the same accessibility tool and compare the custom control on a known-good app version.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
A custom control can omit an accessible name or pattern even with a healthy provider assembly. Tell the publisher which control, pattern, and app build reproduce the behavior.
Choose the repair that fits
Repair the app package and its supported runtime when the provider assembly cannot load. For a custom control or extension, install the app vendor’s supported accessibility fix.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Use keyboard navigation and the same screen reader or automation tool to find and activate the affected control.
For a related check, see uiautomationcore.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: Microsoft WPF hosting and assembly documentation.