If the Availability ID is for UI automation tests, why is it included in localized resources?

It looks like the Accessibility Identifier property has been added so that UI automation tests have a more stable identifier. It is recommended to use instead of Accessibility Label , since the label is used by Screen Reader and VoiceOver.

This makes sense, however:

  • Why is Accessibility Identifier included as a translatable string when using the Export function for localization in Xcode? This makes multilingual testing difficult, as it encourages different identifiers in each language.
  • Why is Accessibility Identifier related to accessibility in everything? Why not call it UI Automation Identifier? Does the Accessibility Identifier for screen devices, VoiceOver, and others?
+6
source share
1 answer

After submitting the error with Apple, I received this answer:

This is definitely a bug that we will fix, and you are correct that it is not introduced by VoiceOver or other screen readers.

Update: Confirmed fixed in Xcode 8 GM

+2
source

All Articles