I’m Robin Kanatzar.
You can find me on Twitter
@RobinKanatzar
Testing for
Accessibility
2
Slide 3
Slide 3 text
What we can and can’t test Free testing tools
3
The plan
Slide 4
Slide 4 text
4
Real people who use
assistive technology*
Machine
* Assistive technology = VoiceOver, Voice Control, Switch Control, and much more
Slide 5
Slide 5 text
What we can and
can’t test
(with a machine)
1.
5
Slide 6
Slide 6 text
Conflicting traits
(example: .button & .link)
Color contrast
Touch target
Overlapping
elements
100% Machine Testable
Slide 7
Slide 7 text
Dynamic
type
Orientation Element
labels
Element
ignoring
Machine + Human
Slide 8
Slide 8 text
8
Color contrast
Touch targets
Overlapping
elements
Conflicting traits
Dynamic type
Orientation
Element labels
Element ignoring
Element grouping
(semantic groups)
…and more
What we can and can’t test
Slide 9
Slide 9 text
Free testing tools
2.
9
Slide 10
Slide 10 text
XCUITest
▪ Uses accessibility tree under the hood
▪ Writing UI tests is the easiest way to start testing for
accessibility
10
UI Test
Slide 11
Slide 11 text
A11yUITests
▪ “An extension to
XCTestCase that adds tests
for common accessibility
issues that can be run as
part of an XCUI Test suite.”
11
Rob Whitaker - mobilea11y.com - @RobRWAPP 11
11
UI Test
Github Repo
Slide 12
Slide 12 text
Accessibility Inspector
▪ Xcode > Open Developer Tools > Accessibility Inspector
12
Dev