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

bug(Chip - chip-grid): Error not announced in screen readers on blur #28940

Open
1 task
BojanSlavkovskii opened this issue Apr 23, 2024 · 0 comments
Open
1 task
Labels
needs triage This issue needs to be triaged by the team

Comments

@BojanSlavkovskii
Copy link

BojanSlavkovskii commented Apr 23, 2024

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Due to timeout on _blur() function in chip-grid.ts the errors that are shown are not announced.
https://github.com/angular/components/blob/main/src/material/chips/chip-grid.ts#L407

image

Reproduction

StackBlitz link: https://stackblitz.com/edit/qmuavp-wu5wvf?file=src%2Fexample%2Fchips-form-control-example.html
Steps to reproduce:

  1. Add required form control
  2. Blur from the input

Expected Behavior

Screen reader should read the error shown on blur.

Actual Behavior

Screen reader isn't reading the error shown on blur.

Environment

  • Angular: "^17.3.0"
  • CDK/Material: "17.3.1"
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows
@BojanSlavkovskii BojanSlavkovskii added the needs triage This issue needs to be triaged by the team label Apr 23, 2024
@BojanSlavkovskii BojanSlavkovskii changed the title bug(chip-grid): Error not read on blur bug(Chip - chip-grid): Error not announced in screen readers on blur Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

1 participant