Issue Bug New Orphaned

#109733CKEditor 5: Contextual Link Dialog cannot be focused via keyboard (Cmd+F10 / Alt+F10)

Marco Luig 04/30/26, 06:38 updated 04/30/26, 06:38

Description

In TYPO3 v13.4, keyboard navigation and accessibility fail when trying to edit an existing link in the CKEditor 5.
When the cursor is placed on an existing link, pressing the documented keyboard shortcut Cmd+F10 (Mac) or Alt+F10 (Windows/Linux) fails to move the keyboard focus into the contextual link balloon/dialog. The user has no way to reach the link input fields or the edit/unlink buttons without using a mouse.

Note: In standard vanilla CKEditor 5 builds (e.g., https://ckeditor.com/ckeditor-5/demo/feature-rich/), pressing Cmd+F10 correctly jumps directly into the floating link dialog. This points to an issue with TYPO3’s backend integration, specifically how it handles floating UI elements or focus trapping.

Steps to Reproduce:

  1. Open a backend record with a Rich Text Editor (CKEditor 5).
  2. Type some text, select it, and create a link (either via mouse or Cmd+K ).
  3. Place the text cursor inside the newly created or any existing link.
  4. Try to focus the contextual link dialog/balloon using the keyboard shortcut Cmd+F10 (or Alt+F10 ).
  5. Try using Arrow Keys to see if the focus moves into the floating dialog.

*Expected Behavior:*
Pressing Cmd+F10 / Alt+F10 when a link is selected should move the focus directly into the CKEditor link balloon panel, allowing the user to use Arrow Keys to navigate to the “Edit link” button or directly edit the URL.

*Actual Behavior:*
The shortcut is either ignored, swallowed by the TYPO3 backend, or the focus gets trapped/lost. The contextual link dialog cannot be reached via keyboard at all.

*Possible Causes (Technical Hypothesis):*
This seems to be a focus-trapping conflict. CKEditor 5 renders the link dialog as a floating “Balloon Panel” outside the normal editor DOM flow. TYPO3’s global event listeners (FormEngine, Lit components, or backend overlay management) likely intercept the focus shift or trap the focus within the main editor wrapper, preventing the CKEditor FocusTracker from successfully shifting focus to the floating balloon.

Environment:

  • TYPO3 version: 13.4.27
  • Browser: Chrome v147.0.7727.116, Firefox v149.0, Edge v147.0.3912.86
  • OS: macOS

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] CKEditor 5: Contextual Link Dialog cannot be focused via keyboard (Cmd+F10 / Alt+F10) Resolves: #109733 Releases: main