Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Manual tan submission talkback error (EXPOSUREAPP-4099) #2004

Merged

Conversation

SamuraiKek
Copy link
Contributor

This PR fixes a talkback issue where entering a full wrong TAN would make talkback skip one of the error messages.
This was happening because both textviews in the fragment were having the "accessibilityLiveRegion" property set to "assertive" and because the second textview only shows up when entering a full wrong TAN, it was hitching the focus from the other textview before that one got to be interpreted by talkback.

Also, I had to change the order in which the two error message textviews are displayed because the invisible one that shows up after entering the full wrong TAN will be last in the talkback stack when becoming visible. So even though in the UI, it comes in before the second textview, talkback was actually reading the second textview first and then the first one.

To test the fix, enable talkback in your settings and then enter a full wrong TAN inside the application.

@SamuraiKek SamuraiKek added maintainers Tag pull requests created by maintainers accessibility Accessibility issues labels Dec 28, 2020
@SamuraiKek SamuraiKek added this to the 1.11.0 milestone Dec 28, 2020
@SamuraiKek SamuraiKek requested a review from a team December 28, 2020 15:54
Copy link
Contributor

@mtwalli mtwalli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mtwalli mtwalli self-assigned this Dec 28, 2020
@sonarcloud
Copy link

sonarcloud bot commented Dec 29, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@ralfgehrer ralfgehrer merged commit 32682ed into release/1.11.x Dec 29, 2020
@ralfgehrer ralfgehrer deleted the fix/4099-manual-tan-submission-talkback-error branch December 29, 2020 09:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accessibility Accessibility issues maintainers Tag pull requests created by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants