bug(Chip - chip-grid): Error not announced in screen readers on blur
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### 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

### 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
コントリビューションガイド
調査の方向性
src/material/chips/chip-grid.ts の 407 行目付近から始め、必須のフォームコントロールを使用して、リンクされた StackBlitz の例で問題を再現します。_blur() のタイムアウトを追跡し、ぼかした後に表示されるエラーがスクリーンリーダーによって読み上げられることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- accessibility, frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100