Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[a11y audit] Finding: Chatbot MHV Prescription Skill: 4.3.4 Support screen readers #67309

Open
Tracked by #66754
SarahKay8 opened this issue Oct 11, 2023 · 6 comments
Open
Tracked by #66754

Comments

@SarahKay8
Copy link
Contributor

SarahKay8 commented Oct 11, 2023

Testing Areas

Operating System: Mac + Windows
Assistive Technology being used: Jaws + Voiceover
Internet Browser: Chrome, Firefox, Safari
Device Type: Desktop
Staging Link

Test User

vets.gov.user+228@gmail.com

Steps to recreate

Manually type response and send message in text input field with VO turned on

Issue

Only last message is being read out loud with a screen reader. This behavior happens when a response is manually typed and sent in text input field. This behavior happens sometimes.

Issue Description

When a chatbot sends a sequence of messages, and only the last message in the sequence is read out loud by a screen reader, it can be problematic for users who rely on screen readers to access content.
Main Caveat - This is an automated chatbot meaning there would not be time for each message to announce if every message was set to announce immediately.

20231011113334296.mp4

Move focus to the first new message that appears (this will cause it to announce and place the user in a natural place to continue reading the rest of the new messages)
The user can navigate forwards to the other messages at their own pace
Once all the new messages have been read they will be back on the text input to send a reply
My understanding is that it's not possible to queue up the messages with any dynamic announcement (e.g. if you were not moving focus) because there's no way to know how long each individual user's device will take to announce each message.

Other consideration

Because chatbot can sometimes send a large number of messages, consider implementing message pagination or a “load more” button. This allows users to manage and navigate through lengthy chat histories more easily.
Add "load more"button message pagination

@Joy-Elizabeth
Copy link
Contributor

Chatbot team is dependent on MSFT for this, and will be working to address this with them as a priority post Rx skill launch.

@eli-oat
Copy link
Contributor

eli-oat commented Oct 18, 2023

Note, the following shouldn't be taken to be an accurate representation of how this manifests on mobile.

That said, using the iOS Simulator and the in-built accessibility inspector I can say that iOS (which isn’t to say VoiceOver, necessarily) has access to the full internal DOM of the chatbot history even when it is scrolled out of view.

This doesn’t mean that VoiceOver necessarily reads it all out, but it means using the accessibility inspector I’m able to access visually hidden information in the chat bot’s history…the gigantic caveat here is that the way that the accessibility inspector does this is to force a scroll, bringing the hidden info into focus.

In theory, this should be like hitting the tab key. What I’m not sure of, though, is if VoiceOver’s response would suggest there is any reason to do that.

If supported, more investigation on mobile is necessary to fully understand this behavior.

@anitadewitt-va
Copy link
Contributor

Recordings of VoiceOver test shows the skipping of chat bubbles inconsistently.
macOS.-.Voiceover.screenreader.testing-.Skips.bubbles.mp4
VoiceOver.skips.bubbles.rx.mov
Recording of VoiceOver test shows behavior after adding delays between messages.
macOS.-.Voiceover.screenreader.testing-Prescriptions.with.delay.mp4

@sara-amanda
Copy link
Contributor

@eli-oat or @SarahKay8 - can this ticket be closed, based on your work with the chatbot team?

@SarahKay8
Copy link
Contributor Author

@sara-amanda hmmm I think so?

@SarahKay8
Copy link
Contributor Author

@anitadewitt-va cool to close?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants