angular / angular/components

bug(cdk/menu): With NVDA enabled, keyboard focus doesn't show up

オープン
#26,080 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Accessibility area: material/menu P3
主要言語
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

keyboard focus is not working on CDK menu. But seems cdkMenuBar is working fine..

### Reproduction

Steps to reproduce:
1. https://material.angular.io/cdk/menu/examples#cdk-menu-standalone-menu
2. check below GIF for the issue
![a11y-issue](https://user-images.githubusercontent.com/1803942/203821589-228d1f8a-b02e-4946-9839-e6cea9dee673.gif)

### Expected Behavior

With NVDA enabled, keyboard focus can't be focused on first item. And arrow key should be working fine

### Actual Behavior

With NVDA enabled, keyboard focus doesn't focus on first item. And arrow key not working fine

### Environment

- Angular: 15
- CDK/Material: 15
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows

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

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

調査の方向性

リンク先の Angular Material ページにある CDK メニューのスタンドアロン例から始め、Windows 上の NVDA を使用して Chrome で動作を再現します。最初のメニュー項目にキーボードフォーカスが当たり、矢印キーによるナビゲーションが期待どおりに機能すれば完了です。

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

評価

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

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

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