cashapp / AccessibilitySnapshot

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

Add snapshot tests for iOS 16 and audit results #117

Closed NickEntin closed 9 months ago

NickEntin commented 1 year ago
pwesten commented 11 months ago

Adding iOS 16 to our project's test config yielded many new crosshair overlays on buttons. There may be a pixel-rounding change that AccessibilityHierarchyParser.defaultActivationPoint(for: ) needs to take into account. And on that note, that method could be sensitive to text fields that are first responder (where the activation point is on the insertion bar rather than the center of the view).