angular / angular/components

feat(cdk/drag-drop): Proposal for Keyboard and Screenreader Accessibility

Aperta
#25,468 7 commenti 19 reazioni 0 assegnatari Vedi su GitHub
area: cdk/drag-drop feature P3
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

### Feature Description

Hello everyone,

Accessibility is nowadays a very important topic and therefore I think it is essential to get as much work as possible done directly in the framework. Therefore is my proposal to make the Angular CDK Drag and Drop accessible to everyone! My ideas so far

- Reusing as much code as possible (maybe renaming the functions if selected)
- Adding aria roles if necessary
- tabindex to all grabbable items
- Space to activate moving by keyboard (then activly moving by arrow keys with small movement). Further ideas/improvement: movement to fix containers or movement by bigger (user defined) steps!
- Escape to quit movement
- Implementation according to https://www.w3.org/wiki/PF/ARIA/BestPractices/DragDrop

First Code proposal (Please don't look to specific, is my first proposal, Improvements needed):
https://github.com/angular/components/commit/1c50475095a7ecf3c1f142c820d3f5a71f0070b8

Is is meaningful to do more work on it? Please be so kind and share your meanings with me!

Best regards,

Martin

### Use Case

Drag and Drop Accessibility!

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dal punto di ingresso Angular CDK Drag and Drop ed esamina la proposta di codice collegata insieme alle best practice W3C ARIA DragDrop. Chiarisci il comportamento previsto per tastiera, screen reader, focus e movimento prima di identificare l'ambito dell'implementazione e dei test; completato significa avere un design di accessibilità concordato e un comportamento verificato per le interazioni proposte.

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

Valutazione

Stack tecnologico
angular, typescript
Ambito
accessibility, frontend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.