Join Kevin Favro for an in-depth discussion in this video Making custom objects accessible, part of iOS App Development: Accessibility.
- [Narrator] Our elevation views are inaccessible…by default and in the last video,…we learned how to create UI accessibility elements…to represent them, so they can be discovered…by assistive technologies.…There's another approach we could've taken though,…and it will require us to write a lot less code,…and our individual elevation views will be…responsible for their own accessibility details.…Since our elevation views are sub-classes…of UI views, and since the UI accessibility…protocol is an informal protocol,…the only thing we need to do is…to mark them as accessible elements.…
We'll start in the ElevationWrapper.swift file,…and we'll start by deleting the contents of…our configureAccessibility method,…starting on line 51,…and all the way through 71.…We'll leave that as is for now.…Save that, and let's start on our ElevationLengthView.…We'll override the awakeFromNib method on line 22.…In this method, we'll simply declare…ourselves as accessible.…Let's go ahead and give ourselves…an AccessibilityTrait as well,…
In this course, explore the different accessibility technologies that are built into iOS, and learn how to build apps that all users can access. Follow Kevin Favro as he explains how to audit your app for accessibility problems, and explores various iOS technologies—including VoiceOver, a screen reader that lets you use phone even if you don't see the screen—and other considerations that might prevent someone from effectively using your app.
- Reviewing the accessibility features in iOS
- Exploring accessibility settings
- Working with VoiceOver
- Exploring Switch Control
- Using the Accessibility Inspector
- Using VoiceOver to audit your app
- Reviewing Dynamic Type
- Reducing transparency
- Reducing motion
- Setting bold fonts and darker colors
- Understanding how elements are opted into the accessibility system
- Making custom objects accessible
- Working with the VoiceOver rotor
- Working with Guided Access
Skill Level Intermediate
1. Accessibility Overview
2. Accessibility Audit
3. Improving Our App: Visual Accommodations
4. Improving Our App: Semantic Accessibility
5. Improving Our App: Accessibility Customizations
6. Improving Our App: Guided Access
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.