It's been a longtime coming and I think it's about time we implement UIAutomation in some capacity.
Benefits
It's faster - this thread seems to suggest that there would be performance benefits from using UIAutomation instead of IAccessibility. Looking at the API docs I can see why now. A service worker interacts with the IAccessible elements on the system and creates the UIA tree in memory, which is something that happens continuously as they system runs (I imagine). UIA then queries from that tree, meaning lightning fast query times.
Challanges
It's quite verbose - Implementation in VBA needs a really good spec, because UIA is very verbose and doesn't just implement 1 specific class.
It's been a longtime coming and I think it's about time we implement UIAutomation in some capacity.
Benefits
IAccessible
elements on the system and creates the UIA tree in memory, which is something that happens continuously as they system runs (I imagine). UIA then queries from that tree, meaning lightning fast query times.Challanges
Spec
TBC
Useful links