Xcode has a built-in tool to help you develop more accessible apps, the Accessibility Inspector. You can find it in the Developer Tool set in the Xcode menu. It has three main functionalities: inspect, audit and settings.

To open the Accessibility Inspector, select Xcode in the Xcode menu, the Open Developer Tool and Accessibility Inspector. The inspector will open in a separate window. It has three main options: inspect, audit, and settings.