Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[RTE] Focus gets trapped on image node, preventing keyboard navigation

Aperta
#5,944 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

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

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

bug P1 - important TAG: a11y

❌ 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

  1. Open a Rich Text Editor field in edit mode
  2. Insert an image into the editor
  3. Click or Tab to focus the image node
  4. 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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di learningequality/studio

Tutte le issue di learningequality/studio

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.