Hey Joanie,

IMO, AT-SPI2 is a better place to implement a collections interface, even if it needs some enhancement. This way, all servers benefit without every server having to do its own implementation. That would mean a lot of duplication plus more room for error and inconsistency. The core framework (e.g. AT-SPI2) should be doing the filtering in the server process, but at the end of the day, it's just filtering based on the raw stuff that's already exposed by the API.

The reason IA2 doesn't have anything like this is that IA2 doesn't have an equivalent to AT-SPI2 at all; i.e. it's just raw API calls. This is because in the Windows world, we have this horrible thing called in-process injection, and it's just become accepted that AT vendors will do all of this horrible stuff themselves. Since NVDA is the only screen reader that seems to care about doing this more elegantly out-of-process (and we already have in-process code as much as it pains me), it's probably not worth doing for IA2.

On the other hand, UI Automation does as I describe. The raw interfaces just expose properties and methods, but the UI Automation Core handles cross-process searching and caching. It needs some significant enhancement--right now, it's hopelessly unequipped to handle a web browser, which is why we have so many problems with Edge and is something I'm harassing Microsoft to fix--but in theory, I believe it's probably the more elegant way to do things.

Jamie

On 24/02/2016 9:30 AM, Joanmarie Diggs wrote:
Hey Jamie, and everyone but the ARIA list which I've just un-CCed as I'm
going down a tangent. <smiles> More below.

On 02/23/2016 05:50 PM, James Teh wrote:
We don't have a collections interface for IA2,
There's not one in ATK either. And the API for what we have in AT-SPI2
sucks dirty socks IMHO. Mind you, it's way better than doing the tree
dive....

Anyhoo, I mention this not to complain, but to suggest that if IA2
wanted a collections interface, I think ATK should also have one, and it
might be nice to come up with an API we both like and which would be
easy for Alex to implement on both platforms.

--joanie


--
James Teh
Executive Director, NV Access Limited
Ph +61 7 3149 3306
www.nvaccess.org
Facebook: http://www.facebook.com/NVAccess
Twitter: @NVAccess
SIP: [email protected]

_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/accessibility-ia2

Reply via email to