Forum Discussion
godbout
Jan 18, 2024Copper Contributor
enable Accessibility Tree on macOS in the new Teams (work or school)
hello! so i build apps for macOS that use the AX Tree exposed by other apps. in the old Teams, i was able to expose the AX Tree by sending a call to Teams (see https://www.electronjs.org/docs/latest/...
godbout
Sep 04, 2024Copper Contributor
soyunagi you need basically to do what Accessibility Inspector is doing. but most probably it might use private APIs. so the key is to reverse-engineer the whole **bleep**. it's another universe. good luck.
soyunagi
Sep 04, 2024Copper Contributor
Thanks, godbout.
Yeah, that's tricky, as it's not really clear what the AX inspector does on the background.
I do use standard Apple's AX APIs via Swift on macOS, and as you say there might be some private ones that I am not aware of. Also awaiting reply from Apple Dev support to learn more.
The behavior can be also related to how Microsoft Teams exposes its accessibility data, likely due to how the app seems to be implemented on top of Electron.