[RTE] Focus gets trapped on image node, preventing keyboard navigation
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Tranquilla
- Ambito
- accessibility, frontend
Direzione di ricerca
Inizia riproducendo il problema in un Rich Text Editor con un'immagine, quindi esamina il comportamento da tastiera del manipolatore di ridimensionamento, inclusa la gestione di keydown.prevent. Conferma che Tab e Shift+Tab seguano l'ordine naturale di tabulazione, mentre i tasti freccia e Escape/Enter mantengano i controlli di ridimensionamento esistenti e non rimanga alcun intrappolamento da tastiera.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Observed behavior
When an image is present in the Rich Text Editor and the user focuses it (e.g. by clicking or tabbing to it), focus becomes trapped on the image node. Pressing Tab does not move focus to the next interactive element — all keyboard events are swallowed by the resize handle's @keydown.prevent handler. Pressing Escape exits the resize handle but does not advance focus forward, leaving the user unable to continue navigating the page by keyboard.
https://github.com/user-attachments/assets/3bf1518d-2750-4372-8e17-84d78d7fcfcc
Errors and logs
N/A
Expected behavior
Pressing Tab while an image node is focused should move focus to the next focusable element in the natural tab order, allowing users to continue keyboard navigation without interruption.
User-facing consequences
Keyboard-only users are completely blocked from continuing navigation once focus lands on an image in the editor.
Steps to reproduce
- Open a Rich Text Editor field in edit mode
- Insert an image into the editor
- Click or Tab to focus the image node
- Press Tab — focus does not advance to the next focusable element
Acceptance Criteria
- Pressing Tab while an image node is focused moves focus to the next focusable element in the natural tab order
- Pressing Shift+Tab while an image node is focused moves focus to the previous focusable element
- No keyboard trap exists when navigating through an editor containing one or more images
- Existing resize handle keyboard controls (Arrow keys, Escape/Enter to exit resize) continue to work correctly
AI usage
I identified the bug and provided the key details; Claude Code (claude-sonnet-4-6) helped draft the issue sections, which I reviewed and confirmed.
- Lingua principale
- Python
- Stelle
- 192
- Fork
- 310
- Merge medio
- 2g 6h
- PR unite (30g)
- 65
Preparare l'ambiente
- Include un Dockerfile o un 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 learningequality/studio
-
Set unpublishable: true on PublishedChange by construction to simplify handleMaxRevs predicateApertaDEV: frontend P3 - low
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
learningequality/studio#5868 ·
I maintainer di solito rispondono entro 1 giorno
-
TAG: tech update / debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
learningequality/studio#2245 ·
I maintainer di solito rispondono entro 1 giorno
-
[QTI] Text entry answers are merged and reordered when the first answer has surrounding spaceApertabug DEV: frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 15/100
learningequality/studio#6309 ·
I maintainer di solito rispondono entro 1 giorno
-
bug DEV: frontend
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
learningequality/studio#6308 ·
I maintainer di solito rispondono entro 1 giorno
-
bug DEV: frontend
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
learningequality/studio#6307 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di learningequality/studio
Issue simili
-
bug Triage-Needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
FuRongJun-1999/dsh-memory#170 ·
I maintainer di solito rispondono entro 1 giorno
-
[开源推荐] 打拼音就出篆书的输入法,附古文字创作小工具Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
521xueweihan/HelloGitHub#3940 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100