The Accessibility Inspector let’s you run an audit of the current screen in your simulator or device. It can find some basic issues like color contrast issues, touch target sizes that are too small, etc. It can also provide with fix suggestions.

Audit functionality of the Accessibility Inspector. You can navigate to any screen you’ like to audit and select the “Run Audit” button. A list of possible issues will appear. Some examples are: hit area is too small, element has no description, potentially inaccessible text, dynamic text font sizes are partially unsupported… The options button will show a list of all the type of  issues it can find. You can unselect any of them. The options are: element description, contrast, hit region, element detection, clipped text, traits, and large text. Next to each issue found, there are two buttons. One of them takes a screenshot and highlights the area with the potential issue. The other one shows a fix suggestion. At the bottom of the screen, there is a clear warnings button.

You may also find interesting...

The fastest way for testing Dynamic Type while developing, and to quickly see how your app's UI flows, is by using the "option + cmd + plus/minus" to increase/decrease the text size in your simulator.

The Accessibility Inspector lets you configure on or off some of the most common accessibility options so you can conveniently observe how your app adopts these options in the simulator or device. You can also quickly select different text sizes.

Since iOS 14, you can get a human readable localised name for a UIColor, with a very useful property called accessibilityName, that you can use in accessibility attributes like labels or values. How cool is that? https://developer.apple.com/documentation/uikit/uicolor/accessibilityname

Created in Swift with Ignite.

Supporting Swift for Swifts