I'm wondering if there is a way to check the hints using Accessibility Inspector? Or any other way on iOS to debug the accessibility viewing the hints? Thanks!
Accessing the Accessibility Inspector Choose Accessibility in the Tools > Web Developer menu. Select the Accessibility tab in the Developer Tools toolbox. Right-click in the main browser window, and choose Inspect Accessibility Properties in the context menu.
To turn on Accessibility Inspector, run your app in iOS Simulator, go to Home > Settings > General > Accessibility and slide the Accessibility Inspector switch to on. This opens the Accessibility Inspector panel. Accessibility Inspector will remain available until you use the switch to turn it off.
While VoiceOver is not available directly in the Xcode simulator, it is possible to run VoiceOver from macOS to test your app. To do this, set keyboard focus on the simulator window then enable VoiceOver. From here you'll be able to use the Virtual Cursor to move between items on the screen.
In the Safari menu, select Preferences > Advanced > Accessibility and check Press Tab to highlight each item on a webpage.
As far as I know, accessibility hints are not displayed in Accessibility Inspector. What I tend to do instead is run the app and then launch layout inspector. After it loads you can select the view you are interested in and see accessibility labels, traits, hints, etc.
I am not sure why hints are not displayed in AI.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With