What happens if I use an accessibilityIdentifier and an accessibilityLabel on same element? Will one override the other, will it still be accessible to a disabled user?
Asked
Active
Viewed 1,507 times
1 Answers
6
Accessibility identifiers are for only automation testing. They are not helpful for users/developers. You can use accessibility label/hint. Even if you set them both, they will not be overridden.

nahung89
- 7,745
- 3
- 38
- 40

Teja Nandamuri
- 11,045
- 6
- 57
- 109
-
Unless you work in an organisation, I suggest you not to use accessibility identifier. There is not much use of them!!! – Teja Nandamuri Sep 16 '15 at 19:51
-
Thanks, I am adding Accessibility Identifiers to make my app testable through automation, and want to make sure if I have an accessibility label and identifier on the same element, that a disabled user will still be able to use the app feature via the accessibility label – mattman88 Sep 16 '15 at 19:51
-
Yes, the element is still accessible in that case.And it doenst over ride – Teja Nandamuri Sep 16 '15 at 19:51
-
Also I do work in an organization! we are making it so we can automate the testing of our app. we are mostly manual now – mattman88 Sep 16 '15 at 19:52