Navigating via keyboard and opening photos, Viewer does not take focus, and resets focus to beginning of Files list after closing
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- accessibility, frontend
Direzione di ricerca
Inizia riproducendo il flusso da tastiera in Files: apri una foto con Enter, esamina il focus mentre Viewer è aperto, quindi chiudilo con Esc. Traccia la gestione del focus di Viewer e Files per determinare come viene mantenuto l’elemento iniziale; il lavoro è completato quando il primo controllo di Viewer riceve il focus e, alla chiusura, viene ripristinato l’elemento precedente appropriato o l’elemento del file aperto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.)
- Lingua principale
- JavaScript
- Stelle
- 121
- Fork
- 70
- Merge medio
- 1g 3h
- PR unite (30g)
- 18
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nextcloud/viewer
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nextcloud/viewer#3424 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
3. to review
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
nextcloud/viewer#3196 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
nextcloud/viewer#3343 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nextcloud/viewer
Issue simili
-
Remove: Fox Deportes SDApertacheck:passed feeds:remove
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
iptv-org/database#37176 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 9 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hawk-digital-environments/HAWKI#443 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
feedback simulation workshop
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
githubnext/gh-aw-workshop#4370 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
AltimateAI/vscode-dbt-power-user#2089 ·