feat(cdk/drag-drop): Proposal for Keyboard and Screenreader Accessibility
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### 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!
Guía de contribución
Línea de trabajo
Comienza con el punto de entrada de Angular CDK Drag and Drop y revisa la propuesta de código enlazada junto con las prácticas recomendadas de W3C ARIA DragDrop. Aclara el comportamiento aceptado del teclado, el lector de pantalla, el foco y el movimiento antes de identificar el alcance de la implementación y las pruebas; terminado significa contar con un diseño de accesibilidad acordado y un comportamiento verificado para las interacciones propuestas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- accessibility, frontend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Tranquilo
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100