From f583574559bfaede9fbf5ac8652f6a6222505630 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Tue, 6 May 2025 10:28:20 +1000 Subject: [PATCH] DOC-3151: Tabbing inside a figcaption element no longer shows two text insertion carets. --- modules/ROOT/pages/7.9.0-release-notes.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/ROOT/pages/7.9.0-release-notes.adoc b/modules/ROOT/pages/7.9.0-release-notes.adoc index 6394d0a9a6..7d71d1bf82 100644 --- a/modules/ROOT/pages/7.9.0-release-notes.adoc +++ b/modules/ROOT/pages/7.9.0-release-notes.adoc @@ -157,6 +157,14 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a // #TINY-vwxyz1 // CCFR here. +=== Tabbing inside a `figcaption` element no longer shows two text insertion carets. +// #TINY-11997 + +Previously, when tabbing within a `figcaption` element, the fake text caret was not properly hidden, resulting in both the browser’s native caret and the fake caret being rendered simultaneously. This visual duplication caused confusion for users during text navigation and editing. The issue occurred because the focus event inside editable captions did not trigger logic to hide the fake caret. + +This has been resolved by updating the focus handling behavior to detect whether the focused element is within an editable context and hide the fake caret accordingly. + +As a result, only a single, correct text caret is displayed when tabbing inside `figcaption` elements, improving editing clarity and user experience. [[security-fixes]]