NativeScript/NativeScript

Child components of ActionBar not accessibility friendly.

Open

#3746 opened on Mar 7, 2017

View on GitHub
 (3 comments) (1 reaction) (0 assignees)TypeScript (23,592 stars) (1,634 forks)batch import
action-barenhancementfeaturegood first issueux

Description

Please, provide the details below:

Tell us about the problem

While trying to create UI automated tests with Appium we've noticed that the child components of ActionBar, such as ActionItem and NavigationButton don't have a property for AutomationText. When running UiAutomatorViewer, these objects are marked as NAF (Not Accessibility Friendly). This prevents us from allowing any accessibility features for the navigation buttons that we have in our app, as well as not allowing UI automation to be possible for those features. Is it possible to have the AutomationText property added to the child components of ActionBar? If not, what are some other UI automation strategies to handle situations like these?

Which platform(s) does your issue occur on?

Only confirmed for Android.

Please provide the following version numbers that your issue occurs with:

  • CLI: 2.5.0
  • Cross-platform modules: 2.5.1
  • Runtime(s): Android: 2.5.0

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide