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

Accessibility

 Accessibility

App Builders 2016 in Zurich, Switzerland

Alexsander Akers

April 25, 2016
Tweet

More Decks by Alexsander Akers

Other Decks in Technology

Transcript

  1. Agenda —Why apps? —What is it? —Why accessibility? —Demo —Gratuitous

    GIF —Tools at your disposal —Keep accessibility in mind
  2. Custom components accessibilityTraits Describes the element with traits such as

    NotEnabled, Button, StaticText, Image, Adjustable, etc.
  3. Tools accessibilityLabel Describes the component. By default, UIKit controls have

    useful default values. A UILabel reads its text; a UIButton reads its currentTitle.
  4. Tools accessibilityValue Describes the value of a component. For a

    slider, its value; a switch, its "on" state.
  5. Actions accessibilityActivate() Performs an action when the user activates the

    item, by selecting the item and double tapping the screen. Most accessibility action methods return true to indicate success, or false to bubble up the event.
  6. Actions accessibilityIncrement() accessibilityDecrement() Override these methods to increment or decrement

    the value of your custom component, such as a slider or other adjustable control. Required if your component has the Adjustable accessibility trait.
  7. Actions accessibilityPerformMagicTap() Toggle the most important state of your app:

    —Phone: Answers or ends phone calls —Music: Plays or pauses music —Clock: Starts or stops the timer —Camera: Takes a picture
  8. Actions accessibilityPerformEscape() Implement this method on an element or containing

    view to dismiss it. —Popover: dismiss action —Alert: perform cancel action
  9. Keep accessibility in mind —Persuade management that implementing accessibility will

    increase your potential user base. —Include accessibility implementation and testing time in feature time estimates. —Don't leave everything until the last week.