bug(material/select): mat-select option is not announced on the very first time options are visible
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 67/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- angular, typescript
調査の方向性
Start by reading the Angular Material mat-select implementation and its accessibility tests for announcing the active option when the panel opens. Reproduce the issue with the linked reactive-form example and a screen reader, then trace how the initially selected option is announced on open versus after navigating away and back. Done means the selected state is announced on the first open; add or update a regression test for that behavior.
索引モデルが issue の本文から書いたものです。
説明
-
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
When a mat-select has an initial value (for example, set through a reactive form control) and the user opens it for the first time, the screen reader reads the active option's text but does not announce it as "selected". If the user moves to different options and returns back to the selected one, the same option is announced correctly as "selected".
Reproduction
StackBlitz link: https://stackblitz.com/edit/3j8yhubg?file=src%2Fexample%2Fselect-reactive-form-example.ts
Steps to reproduce:
- Create a mat-select bound to a reactive FormControl with an initial value:
- Turn on a screen reader (VoiceOver).
- Tab to the select and open it with Space, Enter or Alt+Down
- Listen to the announcement for the highlighted option.
- Go to next option.
- Return to previous option and listen to the announcement. "Selected" is announced for the option which is selected.
Expected Behavior
"Selected" should be announced on the very first time the panel of options open.
Actual Behavior
"Selected" is not announce on the very first time the panel opens and the user is on the selected item. It is announced when the user goes to some different options and returns to the selected item.
Environment
- Angular: 21.2.22
- CDK/Material: 21.2.14
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): MacOS
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.9k
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 83
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
angular/components のほかの issue
-
bug(mat-slider): on Firefox, slider thumb is not aligned with cursor対応中かも @Devyalamaddi が 4 日前に担当しました。 オープンarea: material/slider P4
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
angular/components#34094 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug(material/sort): hover hint arrow on an unsorted header shows the active sort direction, not the resulting direction after click.対応中かも @abdul-karim-mia が 2 日前に担当しました。 オープンarea: material/sort P3
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
angular/components#33933 ·
メンテナーはふだん 1 日以内に返信
-
bug(mat-date-picker): month shown twice in date picker対応中かも @PreethiPantangi が 54 日前に担当しました。 オープンarea: material/datepicker P4
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
angular/components#33763 · コメント 2 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Bug in table.scss footer cell height: unset instead of footer row height unset対応中かも @minwookshin が 41 日前に担当しました。 オープンarea: material/table P4
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
angular/components#33709 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug(date-adapter): Misleading JSDoc for createDate returns type対応中かも @BHUVANSH855 が 171 日前に担当しました。 オープンarea: material/core P3
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
angular/components#33059 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
angular/components の issue をすべて見る
似ている issue
-
bug parity
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
WenyuChiou/agent-board#1489 ·
メンテナーはふだん 1 日以内に返信
-
area: bazaar bug complexity: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
accensa/x402-facilitator-stellar#779 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue P4 size:S web-ui
難易度 2/5 半日 初心者へのやさしさ 85/100
josephfung/curia#2600 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
cloudflare/partykit#444 ·