cashapp / AccessibilitySnapshot

Easy regression testing for iOS accessibility
Apache License 2.0
534 stars 65 forks source link

Support Accessibility Custom Content #173

Closed RoyalPineapple closed 4 months ago

RoyalPineapple commented 7 months ago

Introduced in iOS 14 Accessibility Custom Content allows the inclusion of arbitrary accessibility content defined using pairs of label and value. As a default this additional data is exposed under a "Custom Content" rotor entry, but can also be included in the element's VoiceOver utterance by setting the content's importance instance variable to .high or by adjusting verbosity in VoiceOver settings.

This PR adds support for displaying custom content similar to how we handle custom actions.

NickEntin commented 4 months ago

The failing iOS 16 CI job should be fixed now with #209. If you rebase on latest main, that build should start passing.