XCUITests for Accessibility

Last updated: 3 months ago

Any XCUITest is implicitly a test of your app's accessibility.

If your app has bad accessibility, it will make your UI testing difficult to code, and brittle. Improving your app's accessibility not only makes your test suite simpler, but it will significantly enhance the experience for many of your customers.

But there are more distinct ways we can automate tests for our app's accessibility. In this talk, we'll cover ways to use XCUITests to catch common accessibility issues before shipping your app. We'll translate Apple's Human Interface Guidelines and W3C's Web Content Accessibility Guidelines into practical tests for meaningful text alternatives, tap target size, traits, and scroll views.

Comments

UIKonf Friendly Commenter
3d25becddd50f5
3 months

Very important topic - I found alm ost nothing about how to test a11y automatically 👍

Log in to comment