UI
Accessibility,User Conformity,User Experience
For visually or otherwise physically impaired people it is hard to navigate the app and keep track what is shown. To help these people Android porived TalkBack, an app that reads the contents out.
So every UI element should have content description what it is for. Several elements as labels, and text fields do have this intentionally, but others have not:
If these elements have not set android:contentDescription
in the XML (or via setContentDescription()
), then it is considered a smell.
Accessibility,User Conformity,User Experience
Use the XML attribute android:contentDescription
or set it by element.setContentDescription()
.