micado-eu / migrant_application

Application for the migrant
European Union Public License 1.2
1 stars 4 forks source link

Text to speech_ language adapted and enable option to stop #130

Closed AnneliesVerroken closed 3 years ago

AnneliesVerroken commented 3 years ago

The text to speech is currently only in English. So when default language of the migr app is in Spanish for example, the speech reads Spanish in an English way. I understand this is still a work in progress but must not be forgotten by the time of the usertests.

According to the current WCAG guidelines (where we require level AA as public authority), when there is text to speech support, it should be possible for the user to stop the audio at any moment. This is not possible yet.

gi-dorio commented 3 years ago

I've made some temporary fixes. You can now stop the text to speech by clicking again on the button you used to activate it. Also, the voice's language is now based on the language of the app. This part still needs to be improved though, but for testing it should work just fine. Also, these changes should take a little more time to come online. Once you can check that it works, please close this issue

gioppoluca commented 3 years ago

we will work on a more complete solution

AnneliesVerroken commented 3 years ago

Sure! This temporary fix works fine for now.