Question

Is there a way to make screen-readers ignore some content-descriptions on android?

I'm currently using appium to test an android-app, finding elements by content-description is easiest AFAIK. The problem is that I want to set content description on pretty much every element, but since screen-readers use these and read them out it would get hideous when using them. Is there a way to solve this easily?

Was it helpful?

Solution

Is there a way to make screen-readers ignore some content-descriptions on android?

No, sorry. The primary point of android:contentDescription is to support screen readers. Use by testing tools like uiautomator is secondary.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top