Upgrade to Pro — share decks privately, control downloads, hide ads and more …

iOS Accessibility

iOS Accessibility

Romain Vincens

March 03, 2016
Tweet

Other Decks in Technology

Transcript

  1. – OS X Dictionary “The quality of being easily reached,

    entered, or used by people who have a disability”
  2. • Built in iOS and OS X • Focusing mainly

    on visual disability • Main technology is VoiceOver
  3. Developers • UIAccessibility protocol NSObject(UIAccessibility) • Built in UIKit •

    Most of the work is done for free ! • But beware of your custom UI
  4. Customization • isAccessibilityElement : On/Off • accessibilityLabel : what’s spoken

    by VoiceOver • accessibilityValue : ex for a UITextField or UISlider • accessibilityHint : indicates what actioning the UI element will do • accessibilityTraits : what’s the nature or the characteristics of the UI element • accessibilityFrame : where the element is on screen
  5. Implementing UIAccessibility • Drawing a custom UI element • Need

    to define its nature, its elements to be spoken, how to interact, what needs to be selected …
  6. Tips and tricks • view.alpha = 0.0 : still visible

    for VO. Use hidden instead • Think about internationalization • Element order in Interface Builder may have an influence on VO
  7. Pros • Generally easy to setup • Widen your audience

    • Proud of meticulous work • Marketing boost
  8. Cons • Cannot suit all types of projects (ex: video

    games, photos app) • Might be hard/long to apply to an existing (old) project (number of screens, custom UI etc…)