department-of-veterans-affairs / va-mobile-app

"If VA were a company, it would have a flagship mobile app."
https://department-of-veterans-affairs.github.io/va-mobile-app/
17 stars 2 forks source link

BUG - sev-3 - Android - On some devices, alert and expand/collapse components have terrible screen reader swipe order in Android 14 #9801

Open TKDickson opened 1 month ago

TKDickson commented 1 month ago

What happened?

On my Pixel running Android 14 (but not on my OnePlus running Android 11 - dunno if it's OS-specific, device-specific, text-size-specific, etc), many alerts and expand/collapse components have a nonsensical swipe order for screen reader users. Basically - a bunch of content (from somewhere in the screen, not necessarily the top of the content) is chunked together, and put very early on in the component swipe order. In the case of expand/collapse component, that swipe order is unfortunately BEFORE the expanded version of the component's announcement, so only swiping forwards users will miss the information.

Here's the LOA gate screen, android only, I'm swiping forward only, until I go backwards to 'find' the entire first half of the content backwards in the swipe order from the expanded component.

Here's the meds not authorized alert. I also saw this swipe order issue on the Rx transferred med details banner.

I checked a Aug 21 develop build (before the design system alert component changes were in develop), and was able to reproduce the issue with both screens I tried (LOA gate and RX transferred med details banner) so it doesn't seem to be related to the alerts DS implementation (the only recent thing I know of, that might have changed this behavior)

Specs:

Steps to Reproduce

Desired behavior

Acceptance Criteria

Bug Severity - BE SURE TO ADD THE SEVERITY LABEL

See [Bug Tracking](https://department-of-veterans-affairs.github.io/va-mobile-app/docs/QA#issue-severity) for details on severity levels

Linked to Story

Found while testing, but not caused by, #5779

Screen shot(s) and additional information

Full JSON response for services related to issue (expand/collapse)

Ticket Checklist

TKDickson commented 1 month ago

@Sparowhawk this is a draft ticket/not ready for pending handoff. I'm happy to leave it in that column for now (because IDK why you moved it), but there's nowhere near enough info in this ticket for a handoff yet. Hence - no severity label, details to reproduce, etc.