It is not just about applying accessibility APIs, but about caring, and thinking of features that can make your app more accessible and inclusive to everyone. Twitter's alt-text feature is a great example. Thanks, @TwitterA11y! You'll be missed.

When composing a tweet, and adding an image, there is a button that lets you add some alt text to it. On a separate screen, you'll be able to write up to 1000 characters. There is a link to find some help on how to write alt text. After publishing a tweet with an image with alt text, an ALT badge will be shown at the bottom left corner of the image and tapping it, it opens a modal view with the alt text configured.

You may also find interesting...

To capture the gesture, you can override the accessibilityPerformEscape() function. In there you can dismiss your view, and return true if you could successfully handle it. https://developer.apple.com/documentation/objectivec/nsobject-swift.class/accessibilityperformescape()

Potential benefits from grouping logical pieces of information and moving buttons to custom actions: reduce redundancy (by removing repetitive controls) and reduce cognitive load (by making easier to know what item will be affected by each action)

"We have one job, and that's to make our apps work. And if you are not implementing accessibility features, you are forgetting about making it work for a lot of people" @NovallSwift Couldn't have said it better! https://x.com/novallswift/status/1328387659744505856

Created in Swift with Ignite.

Supporting Swift for Swifts