How to check tooltips in Accessibility Inspector?

I am wondering if there is a way to check tooltips using the Accessibility Inspector? Or in any other way on iOS to debug accessibility by looking at tips? Thanks!

+5
source share
2 answers

As far as I know, accessibility tips do not appear in the Accessibility Inspector. Instead, I launch the application and then launch the layout inspector. After downloading it, you can select the type you are interested in and see accessibility labels, features, tips, etc.

I'm not sure why the hints are not displayed in AI.

0
source

UIAccessibility provides accessible information about views and controls.

Accessibility attributes has a hint attribute to provide

A short, localized phrase that describes the results of the action of an element.

The UIAccessibility interface is part of UIKit and is implemented by default for standard UIKit controls and browsers. Accessibility attributes can be set in code or nib / storyboard and are available later during debugging:

enter image description here enter image description here enter image description here

-1
source

Source: https://habr.com/ru/post/1272385/


All Articles