Conversation
| @@ -0,0 +1,13 @@ | |||
| <resources> | |||
There was a problem hiding this comment.
We might need a German translation for the talk back to handle this
There was a problem hiding this comment.
all these copies needs to be verified by translators, let's see how we can make accessibility copies part of the translation process 👍
| it | ||
| } | ||
| } | ||
| contentDescription = null |
There was a problem hiding this comment.
Do you know @miguelbcr if google has some kind "on the fly" ML models to "read" the content of dynamic images (not only UI resources)?
There was a problem hiding this comment.
I initially filled that contentDescription with the title of the card, detail page,... but I removed it eventually because I though it was not needed to repeat the same content description when using TalkBack.
so I think for our case is not needed because the image always goes with a text...
The ways of testing or analyzing it are the ones described here https://developer.android.com/guide/topics/ui/accessibility/testing. I used the two first ones (TalkBack and Accessibility Scanner)
Also in some cases I use .semantics(mergeDescendants = true) {} to let some widgets to use the same text in one child within the parent, for example a card containing image and text.
There was a problem hiding this comment.
I see, thanks for the clarification!
16eccc7 to
07594bd
Compare
07594bd to
aeda125
Compare
aeda125 to
0bff07e
Compare

Ticket
This PR fixes the issues detected by the Accessibility Scanner App and I have also run the TalkBack App to check how it is talked.
ℹ️ I've created the files
accessibility-strings.xml, in both,showcasemodule and for the SDK itself (core.uimodule). Currently I've added only english translations (@chemarubio @VictorAlbertos could you please review the copy), but we would need also translations for the languages we support, currentlyenandde.Usage example of Accessibility Scanner App
Video example
accesibility-scanner.mp4