Describe the problem
The content description of Image should be null instead of an empty string.
Alternatively it can provide a meaningful description. This is not required, as the Text exposes the same information about the current status.
Some visual elements are purely decorative and you might not want to communicate them to the user. When you set the contentDescription parameter to null, you indicate to the Android framework that this element does not have associated actions or state.
URL of codelab: Android Basics with Compose Unit 5: Connect to the internet Activity 5: Get data from the internet Get data from the internet 7- Add Internet permission and Exception Handling
In which task and step of the codelab can this issue be found? Section: Add State UI step 10
Describe the problem The content description of
Image
should benull
instead of an empty string. Alternatively it can provide a meaningful description. This is not required, as theText
exposes the same information about the current status.Compose Accessibility guide