Accessibility Inspector Doesn't Display accessibilityIdentifier on Inspected Elements

Originator:bruno
Number:rdar://42300448 Date Originated:17-Jul-2018 10:52 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:Version 5.0 (48.50.3)
Classification:UI/Usability Reproducible:Not Applicable
 
Summary:
This is a duplicate of radar #32451655

## Summary:

On macOS, Accessibily Inspector is available in the Developper Tools for inspecting app Accessibility implmentation. While one can view the accessibilityLabel, accessibilityValue and accessibilityTraits of inspected elements, the Inspector doesn't show accessibilityIdentifier value. accessibilityIdentifier is often used in automated testing and it could be useful to display it value in the Inspector.

macOS Sierra 10.12.4, Accessibility Inspector Version 5.0 (48.50.3)


Steps to Reproduce:
 1. On macOS, right click on Xcode icon, then Open Developer Tool then Accessibility Inspector
2. Select an app (Calendar for instance, or iOS Simulator)
3. Inspect an UI element, like a button
4. Label (accessibilityLbale), value (accessibilityValue), traits (accessibilityTraits) are shown in the basic accessibility informations


Expected Results:
 Label (accessibilityLocale), value (accessibilityValue), traits (accessibilityTraits) and identifier (accessibilityIdentifier) are shown in the basic accessibility informations.


Actual Results:
 Only Label (accessibilityLabel), value (accessibilityValue) and traits (accessibilityTraits) are shown in the basic accessibility informations.


Version:
Version 5.0 (48.50.3)

Notes:
macOS 10.13.5 (17F77), Accessibility Inspector Version 5.0 (71.43)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!