Navigating via keyboard and opening photos, Viewer does not take focus, and resets focus to beginning of Files list after closing
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript
- Área
- accessibility, frontend
Línea de trabajo
Comienza reproduciendo el flujo de teclado en Files: abre una foto con Enter, inspecciona el foco mientras Viewer está abierto y ciérralo con Esc. Sigue la gestión del foco de Viewer y Files para determinar cómo se conserva el elemento inicial; se considera terminado cuando el primer control de Viewer recibe el foco y, al cerrarlo, se restaura el elemento anterior correspondiente o el elemento del archivo abierto.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
When navigating via keyboard and opening a photo with the viewer, the tab focus is not taken correctly. That is, it still remains in the same spot as before in the file list or photo list even though the viewer is open. That leads to being able to navigate through photos with left/right arrow keys and being able to exit using esc, but you can not activate the slideshow or open the sidebar from this view.
Then when you exit the Viewer using Esc, the Tab position is reset to the top of the Files list which is also not expected.
@skjnldsv noted in addition:
We would need to restore the focus on the initial element that had it before, might be tricky, we never did that! :)
To Reproduce
Steps to reproduce the behavior:
- Go to Files
- Start using
Tabon your keyboard to go through entries (you can use the "Skip to content" link) - Open a photo via Enter
- Exit the Viewer via Esc
- Be reset to the top of the Files list
Expected behavior
When you open the Viewer, the first focusable element of the viewer is focused, and when you exit it, the last focused element is remembered so you can easily continue.
(Question would be if it remembers the last focused element before the Viewer was opened, or if focuses the file which was last open in the Viewer – just in case images were navigated using the Viewer.)
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 123
- Forks
- 75
- Merge medio
- 4 d 12 h
- PR fusionados (30 d)
- 47
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 nextcloud/viewer
-
0. Needs triage bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
3. to review
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
nextcloud/viewer#3196 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
0. Needs triage bug
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
nextcloud/viewer#3343 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de nextcloud/viewer
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
accessibility bug themes
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
quarto-dev/quarto-cli#15222 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
gnosis/gnosis_vpn#661 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
anomalyco/opencode#60143 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug ui-dashboard
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día