On Thu Jun 9 13:37:44 2022 +0000, Huw Davies wrote:
This match_count thing looks fragile. Can't you just bail if match fails at any point?
So, an IAccessible can match based on properties can either match all four of the following properties: get_accRole get_accState get_accChildCount get_accLocation
or match get_accName. It has to match all four of the prior properties to be considered a match if get_accName doesn't return a name for both elements. We can bail if match fails at any point, which is why we go to exit.