Forum Discussion
enable Accessibility Tree on macOS in the new Teams (work or school)
ChetanSharma-msft thanks for the answer. but my question is directly targeted at Teams' developers. this is definitely not something that can be understood or explained by a sales, or users. it's quite technical and specific. thanks.
Hey godbout,
Have you found a solution? I’ve been able to navigate through the AX tree of Microsoft Teams from my macOS Swift app, but the results are unstable. It only works if the Accessibility Inspector is open, which somehow refreshes it occasionally. When I turn off the inspector, it no longer queries the UI content, even though the content is still visible on the screen and accessible to the VoiceOver app.
- godboutSep 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.
- soyunagiSep 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.