Thanks for trying to fix this! It's a long standing issue and I have to tap by coordinates to workaround it 😢
Unfortunately, I can still reproduce a related issue on AXe 1.7.0 with the built-in Photos app on iOS Simulator. Could you help take a look? Thanks.
Environment:
- AXe 1.7.0
- Xcode 26.5
- iOS 26.5 Simulator
- iPhone 17 Pro
Steps:
xcrun simctl launch <UDID> com.apple.mobileslideshow
axe describe-ui --udid <UDID>
The full hierarchy shows the tab bar as an empty group:
type: Group
AXLabel: Tab Bar
children: []
However, point-based lookup can see the actual tab items:
axe describe-ui --udid <UDID> --point 100,832
returns:
type: RadioButton
role_description: tab
AXLabel: Library
AXUniqueId: LibraryTab
subrole: AXTabButton
and:
axe describe-ui --udid <UDID> --point 201,832
returns:
type: RadioButton
role_description: tab
AXLabel: Collections
AXUniqueId: CollectionsTab
subrole: AXTabButton
But selector taps still fail because the tab items are absent from the full tree:
axe tap --id CollectionsTab --element-type RadioButton --udid <UDID>
axe tap --label Collections --element-type RadioButton --udid <UDID>
Both report No accessibility element matched.
I also tried a minimal custom Swift UI App with TabView, and still hit this issue.
Originally posted by @ShikChen in #47 (comment)
Thanks for trying to fix this! It's a long standing issue and I have to tap by coordinates to workaround it 😢
Unfortunately, I can still reproduce a related issue on AXe 1.7.0 with the built-in Photos app on iOS Simulator. Could you help take a look? Thanks.
Environment:
Steps:
The full hierarchy shows the tab bar as an empty group:
However, point-based lookup can see the actual tab items:
returns:
and:
returns:
But selector taps still fail because the tab items are absent from the full tree:
Both report
No accessibility element matched.I also tried a minimal custom Swift UI App with TabView, and still hit this issue.
Originally posted by @ShikChen in #47 (comment)