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]: New message in ai-chat doesn't have alert and is not read out #373

Open
2 tasks done
Daniel-Schulz-Private opened this issue Jan 23, 2025 · 0 comments
Open
2 tasks done

Comments

@Daniel-Schulz-Private
Copy link

Browser

Firefox

Operating System

Windows

Package version

0.14.1-canary.347

React version

^1.66.0

Automated testing tool and ruleset

none

Assistive technology

JAWS 2025

Description

For the ai-chat component, when a new message is returned based on the user-initiated question, the user is not alerted to a new response and it is not read out automatically for them.

Test criteria:
Testers should pay particular attention that the speech output of the screen reader matches the visual information and that messages and dynamic updates are properly detected and announced by the screen reader. Testers may wish to inspect code to verify if properties, relationships, and states are properly set. Also check that messages and time limit notifications that appear on screen and do not take focus are still read by the screen reader depending on the verbosity settings.

One can use the up arrow to read out the response message, but the issue is that a non-sighted user won't be aware a new message came in so they won't know to use the arrow to read the message. So I think we're looking at two options:

  • There is an alert that the new message came in for the user to go read it
  • Ideally, the message is just read aloud as it is in Chrome when it comes in

WCAG 2.1 Violation

No response

Reproduction/example

none

Steps to reproduce

  1. leverage the ai-chat component
  2. enter a chat message
  3. wait for a response

Code of Conduct

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

No branches or pull requests

1 participant