angular / angular/components

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

Aperta
#26,080 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Accessibility area: material/menu P3
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con l'esempio standalone del menu CDK nella pagina Angular Material collegata e riproduci il comportamento in Chrome con NVDA su Windows. Il lavoro è completato quando il primo elemento del menu riceve il focus da tastiera e la navigazione con i tasti freccia funziona come previsto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
accessibility, frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.