AccessibilitySnapshot
AccessibilitySnapshot copied to clipboard
Easy regression testing for iOS accessibility
The iOSSnapshotTestCase dependency is currently set to `~> 6.0` but the latest available version is 8.0.0, which makes it impossible to incorporate AccessibilitySnapshot into projects that are already using the...
When you have draggable elements, such as a table view with reorderable rows in edit mode, the drag button has a "draggable" descriptor and a hint explaining the behavior ("Double...
Hi! Thank you for the great tool! I would like to create text-based strategy that can be used to create non-fragile tests for VoiceOver. I described this idea [in this...
This was deprecated on iOS 13. It’s not currently a warning because the library’s deployment target is iOS 12, but it’ll be soon - plus it can be a warning...
This PR adds the `precision` and `perPixelTolerance`/`overallTolerance` parameters to the different snapshot functions. (#63)
VoiceOver now appears to read attributed strings in segments based on attribute ranges. You can see this behavior through the following example: ```swift let attributedText = NSMutableAttributedString(string: "Hello world") attributedText.addAttributes([.kern:...
Views that are very large in at least one dimension (reproduced with a view that was 2870 pt tall) will silently fail to render when using the `.drawHierarchyInRect` rendering mode,...
The accessibility description for elements in a data table appears to have subtly changed on iOS 13. The differences can be seen in the following tests: [`testDataTable`](https://github.com/cashapp/AccessibilitySnapshot/blob/9b1a71d30bd8e1df7d18ceb98a108cadb3841e26/Example/SnapshotTests/ReferenceImages/_64/SnapshotTests.AccessibilityContainersTests/testDataTable_13_3_375x812%403x.png) * The final...
As of iOS 13, the [`accessibilityUserInputLabels`](https://developer.apple.com/documentation/objectivec/nsobject/3197989-accessibilityuserinputlabels) array can be used as an alternative to a singular `accessibilityLabel` on an accessibility element. As per the dev docs, iOS respects this array...