With the Accessibility Inspector you can check the value for the most common accessibility attributes for individual elements, do some basic navigation, and even perform actions if the component is adjustable or if it has custom actions.

The accessibility inspector has a button that lets you select individual elements on a simulator or device. It is also possible to navigate element by element (like emulating left/right swipes with VoiceOver), automatically move through all the elements on screen, speak each element (rough VoiceOver emulation)… it is also possible to see what values the most common accessibility attributes have configured (label, value, traits, identifier, hint…). And even perform some actions: Activate, increment/decrement for adjustable components, and custom actions. A list of all the custom actions appear with a perform button next to it.

You may also find interesting...

If you are developing a custom component, that can change value, chances are that it will need the adjustable accessibility trait (VoiceOver will say: "Adjustable"). Think of a component that lets you rate from one to five thumbs up (or stars).

The Accessibility Inspector has a Notifications log that you can find in Window, in its top menu, and then Show Notifications. It shows accessibility-related notifications like layout changed, screen changed, or announcements... I learned about this feature from the Accessibility Inspector in this article by @basthomas. A very recommended read to learn all about the Verifying VoiceOver with the Accessibility Inspector. https://www.basbroek.nl/verifying-voiceover

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