Fix accessibility collection reads - #166
Open
sebb3 wants to merge 1 commit into
Open
Conversation
Use AXSwift array attributes for child and menu collections so JavaScript receives real accessibility elements instead of empty arrays. Add Finder integration coverage for bridged children and menu items. AI-assisted by Letta Code: implementation, test changes, and validation. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
sebb3
marked this pull request as ready for review
August 23, 2026 00:43
Contributor
Greptile SummaryThis PR corrects accessibility collection reads by using AXSwift’s array-specific attribute API and strengthens Finder integration coverage.
Confidence Score: 5/5The PR appears safe to merge, with no concrete changed-code defects identified. The collection-specific AXSwift reads match the array-valued children contract across element and menu traversal paths, while the strengthened Finder checks remain protected by the existing Accessibility-permission suite gate. Important Files Changed
Reviews (1): Last reviewed commit: "Fix accessibility collection reads" | Re-trigger Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
arrayAttribute(.children)for accessibility child and menu collectionschildren(),childAtIndex(), menu discovery, and menu traversal behaviorCloses #165.
Test plan
HSAXTestssuite with code signing disabled; runnable tests pass, while permission-gated AX tests are skipped for the unsigned hostAI assistance disclosure
This change was implemented with Letta Code assistance. AI was used to inspect the documentation and Swift implementation, identify the affected array-valued AX reads, apply the
arrayAttributecorrection, strengthen tests, and execute validation. The contributor has reviewed and understands the changes and their interaction with the accessibility bridge.👾 Generated with Letta Code