Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

bug(DatePicker): keyboard navgiation breaks when a screen reader is used

オープン
#33,683 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
58/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
angular, typescript

調査の方向性

https://material.angular.dev/components/datepicker/examples の datepicker の例から始め、NVDA または Windows のスクリーン リーダーを使って、Chrome または Firefox でキーボード ナビゲーションを再現します。ブラウズモードで矢印キーイベントがどのように処理されるかを追跡します。手動でフォーカスモードに切り替えなくても日付間の移動が機能し、スクリーン リーダーなしでもナビゲーションが引き続き機能すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Accessibility area: material/datepicker P3
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 you open the date picker you can easily use the arrow keys to navigate between the days of the month.
But if you use a screen reader (tested with nvda and the integrated one from windows) the arrow keys won't work properly anymore.

The reason is because the screen reader switches to browse mode instead of focus mode and catches the keyboard events. If you switch manually to the focus mode (in nvda its the nvda key + space) it works again.

Reproduction

Just try it in one of the examples at the official site https://material.angular.dev/components/datepicker/examples

  • without screen reader: keyboard navigation works
  • with screen reader: keyboard navigation won't work - you have to switch manually to focus mode
Expected Behavior

I expect the keyboard navigation to work regardless if a screen reader is active or not. It should also not be needed to manually switch to focus mode

Actual Behavior
  • without screen reader: keyboard navigation works
  • with screen reader: keyboard navigation won't work - you have to switch manually to focus mode
Environment
  • Angular: 22
  • CDK/Material: 22
  • Browser(s): Chrome, Firefox
  • Operating System: Windows 11
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 1時間
マージ済み PR(30日)
84

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/components のほかの issue

angular/components の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。