feat: cover Enter on the web for custom buttons in the accessibility skill
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 80/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- dart, flutter
- Área
- accessibility
Línea de trabajo
Encuentra la documentación de la skill de accesibilidad en el repositorio y lee las indicaciones existentes sobre el uso del teclado. Actualízala para indicar que los botones y enlaces personalizados deben responder a Enter en la web, y explica cómo probar Enter mediante la asignación de teclado web de Flutter en una prueba de widget. La tarea estará completa cuando se cubran ambos requisitos y las comprobaciones de CI pasen sin reducir la cobertura de las pruebas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
The accessibility skill does a good job on keyboard access. It steers away from pointer-only widgets and asks for controls that keyboard users can reach. One case it doesn't cover yet is custom buttons that register their own keyboard actions.
On Flutter web, Space and Enter trigger different actions. Space works for a custom button out of the box, but Enter only works if the button also handles the web-specific action. So a custom button can work with Space in the browser while Enter does nothing.
Widget tests don't catch this, because they run with the keyboard mapping of other platforms, where both keys trigger the same action. A test that presses Enter passes even when Enter is broken in the browser.
The suggestion is to add this case to the skill, so custom buttons and links are checked for Enter on the web and tested the way the web handles it.
Requirements
- The accessibility skill says custom buttons and links must respond to Enter on the web, not just Space.
- The skill explains how to test Enter with the web keyboard mapping in a widget test.
- All CI/CD checks are passing.
- There is no drop in the test coverage percentage.
Additional Context
Flutter's default web shortcuts map Space to ActivateIntent and Enter to ButtonActivateIntent. Other platforms map both keys to ActivateIntent.
- Lenguaje dominante
- Shell
- Estrellas
- 180
- Forks
- 25
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 17
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de VeryGoodOpenSource/vgv-ai-flutter-plugin
-
feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#219 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue p1
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#217 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug p1
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#214 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug p1
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#213 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug p1
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#216 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de VeryGoodOpenSource/vgv-ai-flutter-plugin
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
difficulty:easy func:packaging os:linux prio:low type:bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
NatronGitHub/Natron#2027 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
julianleno/cortai#7 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
home-assistant/app-deconz#11 ·