fbpx

UIAccessibilityTraits Roles for iOS developers

//UIAccessibilityTraits Roles for iOS developers

UIAccessibilityTraits Roles for iOS developers

By | 2017-02-28T12:15:26+00:00 February 28th, 2017|Report|0 Comments

If you are an iOS developer then accessibility should be high on your list of priorities so that all users can utilize your app. Apple has added accessibility traits that are like Aria roles to determine what each element in your app can do. Some of these traits may include Titles, Headers, buttons and more. One that I find interesting is the UIAccessibilityTraitAllowsDirectInteraction trait. This allows the element to be interacted with without having to double tap on that element.

For more information on these traits, head over to the UIAccessibilityTraits documentation from Apple.

About the Author: