Unsolved mysteries between Usability and Accessibility in iOS
How do you implement a custom gesture without breaking accessibility? This live-coding demo shows you how to solve this common iOS conflict.
#1about 2 minutes
Understanding the European Accessibility Act
The European Accessibility Act mandates digital accessibility for services like banking to support millions of users with disabilities.
#2about 2 minutes
Using dynamic type and large content viewer in iOS
iOS provides tools like Dynamic Type to adjust text size and the Large Content Viewer to display non-scaling elements in a larger format.
#3about 3 minutes
The conflict between a custom gesture and accessibility
Migrating to a bottom navigation bar created a conflict where a custom long-press gesture for profile switching overrode the default accessibility long-press for the Large Content Viewer.
#4about 5 minutes
Setting up the demo and testing dynamic type
The demo project is introduced, showing how to use Xcode's Environment Overrides to test Dynamic Type and observe the default Large Content Viewer behavior.
#5about 5 minutes
Implementing a custom long press gesture on a tab bar
A custom UILongPressGestureRecognizer is added to the tab bar, requiring an algorithm to iterate through private subviews to identify the correct tap target.
#6about 3 minutes
Allowing simultaneous gesture recognition with a delegate
The UIGestureRecognizerDelegate protocol is used to allow the custom long-press and the system's accessibility gesture to be recognized simultaneously, creating an initial UI overlap.
#7about 3 minutes
Synchronizing custom alerts with the large content viewer
To prevent UI overlap, the system's default long-press gesture is temporarily disabled while the custom alert is shown, and then re-enabled afterward.
#8about 3 minutes
Optimizing gesture timing and integrating accessibility early
A final optimization adds a delay to the custom gesture when accessibility features are active, underscoring the need to consider accessibility early in the development process.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
02:33 MIN
Integrating accessibility from the start of development
Scalable architecture for mobile apps
07:58 MIN
What the European Accessibility Act means for developers
WeAreDevelopers LIVE - Accessibility isn't magic, Longevity, Devrel in times of AI and more
18:43 MIN
Q&A on practical accessibility challenges
Preventing Accessibility Issues Instead Of Fixing Them
01:22 MIN
Introducing the shift left approach to accessibility
Shift Left On Accessibility - Geri Reid
01:44 MIN
Making accessibility a core part of your development process
Oh S***! There's a New Accessibility Law and I'm Not Ready!
00:57 MIN
Adopting a user-centric accessibility mindset
Decoding web accessibility through audit
03:49 MIN
Q&A on accessibility culture and implementation
Making Interactions Accessible to All Users
05:12 MIN
Analyzing accessibility issues in Apple's new UI design
WeAreDevelopers LIVE - Rendering in the Browser, The State of CSS and Accessibility and more
How Developers Can Focus on Maintaining Satisfaction With AccessibilityNo matter what kind of project you are working on, the principal mission of any web development assignment is always the same: to provide end-users with the best experience possible. When it comes to optimizing end-user satisfaction, however, it can ...
Chris Heilmann
Find all accessibility problems in a page to take part in the CODE100 final!Today we had our Accessibilty WeAreDevelopers LIVE day and as part of this, we have a new CODE100 challenge. This time it is not about coding something, but about debugging instead. We have put together an alternative page for the LIVE day that is fu...
Accessibility tip: Detecting reduced motion in one line of JavaScriptAnimation can be a great tool to make apps seem more performant, be more engaging or even just more interesting. There are, however, quite a few groups of people who can not deal with things animating, as it distracts them or can even cause nausea. T...
From learning to earning
Jobs that call for the skills explored in this talk.