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.
The Web We Broke (And Why AI Agents Are Paying the Price) - AgentCon BerlinThis is the accompanying post to the talk Chris Heilmann gave at AgentCon in Berlin on 19/05/2026, you can also see the slides and listen to it in this screencast:
Thirty years of developer shortcuts, bloated JavaScript, and inaccessible HTML have l...
Amanda Winstead
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 ...
Daniel Cranney
Dev Digest 190: GitHub A11Y action, >12s Sora 2 videos and 42 CSS units!Inside last week’s Dev Digest 190 .
🙅 Developers don’t trust AI, and that’s a good thing
🤖 Why everyone is talking about AI agents
🔓 Autonomous AI hacking and the future of cyber security
😨 Windows 10 support ends, millions of PC’s fall off a securi...
Daniel Cranney
The State of Accessibility on the Web in 2025: WebAIM Million Report FindingsThe WebAIM Million project (Web Accessibility in Mind) annually evaluates the accessibility of the top 1,000,000 website home pages on the web.
The 2025 report reveals several critical insights into the current state of web accessibility that we tho...
From learning to earning
Jobs that call for the skills explored in this talk.