The contentDescription
is used to accessibility, for example with the Talkback, if the user has any visual problems. This label can be used to describe the element. In this case the Warning is for your application to be more accessible even.
If an element is static, do not change, you can put a description. This description will be "read" to the user who has vision problems. It may be that it has little vision, can see the element on the screen but cannot distinguish, if there is this description, Talkback will read (using audio) to the user who will be able to understand what is being displayed.
Widgets non-textual as ImageViews
and ImageButtons
must use the attribute contentDescription
to specify a textual description of widget so that screen readers and other accessibility tools can adequately describe the user interface.
Soen has a reply to your question. Only complementing.
– Florida