Skip to content

Conversation

@RoyalPineapple
Copy link
Collaborator

@RoyalPineapple RoyalPineapple commented Nov 12, 2025

Summary

Creates AccessibilityDeferral.RecieverContainer allowing arbitrary elements to receive delegated accessibility without themselves needing to conform to the AccessibilityDeferral.Receiver protocol.

@RoyalPineapple RoyalPineapple changed the base branch from main to alex/migrateA11y November 12, 2025 12:34
Base automatically changed from alex/migrateA11y to main November 25, 2025 12:14
new.rotors = rotors + merge.rotors
new.interactiveChildren = interactiveChildren + merge.interactiveChildren

// TODO: ADD FRAME SUPPORT? lets not change the activation point as we didn't change the activation item
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • remove todo, its done

// An accessibility representation with values that should override the combined representation
public var overrideValues: AccessibilityComposition.CompositeRepresentation? = nil

// An accessibility representation with values that should be merged with combined representation
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "merged with the combined..."

let combined = combineChildren(filter: customFilter, sorting: sorting)
let accessibility = combineChildren(filter: customFilter, sorting: sorting)
.override(with: overrideValues)
.merge(with: mergeValues)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we consider overwriting if both exist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants