Keep keyboard focus inside open dialogs
Los mantenedores suelen responder en 1 día
@100rabheimer ya está trabajando en esto.
Desde el 22/10/2026.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 88/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, react
- Área
- accessibility, frontend
Línea de trabajo
Empieza por el componente Modal al principio de client/src/pages/Tasks.jsx e inspecciona su controlador existente para la tecla Esc y cómo los diálogos New, Edit y Delete muestran sus controles. Usa los pasos de teclado del issue para comprobar el foco al abrir, el recorrido con Tab y Shift+Tab y la devolución del foco después de cada forma de cierre. Se considera terminado cuando se cumplen todos los criterios de aceptación sin añadir dependencias.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
The New Task, Edit Task and Delete Task dialogs close with Esc (#45), but keyboard focus doesn't follow them. When a dialog opens, focus stays on the button behind it. Pressing Tab moves through the page behind the dialog. When it closes, focus is lost instead of going back to the button that opened it.
All three dialogs use the same Modal component, so the fix only needs to happen in one place.
Files likely involved
client/src/pages/Tasks.jsx(theModalcomponent at the top)
Acceptance criteria
- When a dialog opens, focus moves into it: the first field for New/Edit, the Cancel button for Delete.
- Tab and Shift+Tab cycle through the dialog's buttons and fields only, and never reach the page behind it.
- When the dialog closes (×, Cancel, Esc, backdrop or saving), focus goes back to the element that opened it.
- No new dependencies. A
useRefand akeydownhandler next to the existing Esc handler are enough.
How to test
- Using only the keyboard, Tab to New Task and press Enter: the cursor is in the Title field.
- Keep pressing Tab: focus cycles inside the dialog. Shift+Tab goes backwards.
- Press Esc: focus is back on New Task.
- Repeat with a task's Edit and Delete buttons.
New here? 👋 Good first issues are reserved for people making their first few open-source contributions. Comment below to ask to work on this issue, and wait to be assigned. Then follow CONTRIBUTING.md for setup and how to open a pull request. Questions are welcome in the comments or in Discussions.
- Lenguaje dominante
- JavaScript
- Estrellas
- 3
- Forks
- 2
- Merge medio
- 10 h 33 min
- PR fusionados (30 d)
- 41
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 KEX-03/taskflow
-
Due dates (3/3): highlight overdue tasksPosiblemente ocupada @maansi1004 la tomó hace 5 días. Abiertodifficulty: medium enhancement frontend hacktoberfest help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
KEX-03/taskflow#70 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Warn users when selecting past due datesPosiblemente ocupada @the-coder-aadi la tomó hace 4 días. Abiertoenhancement frontend
KEX-03/taskflow#94 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
difficulty: medium enhancement frontend hacktoberfest help wanted
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Board view (1/2): show tasks as a Kanban boardPosiblemente ocupada @Korale05 la tomó hace 1 día. Abiertodifficulty: medium enhancement frontend hacktoberfest help wanted
Dificultad 3/5 1-2 días Aptitud para principiantes 82/100
KEX-03/taskflow#76 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Tags (2/2): add, show and filter by tags in the appPosiblemente ocupada @sunnyrockk la tomó hace 6 días. Abiertodifficulty: medium enhancement frontend hacktoberfest help wanted
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
KEX-03/taskflow#75 · 5 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de KEX-03/taskflow
Issues similares
-
[guide] AGENTS.md claims the coverage gate, e2e and full lint run on every PR after ADR 0011 focused validationPosiblemente ocupada @hivecommons-hive la tomó hoy. Abiertoagent/guide documentation hive/claimed-by-guide stage/040-covered-by-pr
Dificultad 2/5 1-3 horas Aptitud para principiantes 81/100
cncf/endusers#2006 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
check:passed feeds:add
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
all-contributors/cli#587 ·
Los mantenedores suelen responder en 1 día
-
RGAA5
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 8 días
-
feedback simulation workshop
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
githubnext/gh-aw-workshop#5157 ·
Los mantenedores suelen responder en 1 día