From 180da8d433d0121970fe5a4b9e0e08c50c7acf5c Mon Sep 17 00:00:00 2001 From: Cyril Date: Thu, 15 Jan 2026 13:19:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D(docs)=20update=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document focus management pattern entry --- CHANGELOG.md | 3 +-- src/frontend/README.md | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b102d0c6..1fdb9bf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,13 +9,12 @@ and this project adheres to ## [Unreleased] ### Changed -- 📝(frontend) document focus management pattern for side panels and menus +- ♿(frontend) improve menu focus management #869 - ♿️(frontend) add accessible back button in side panel #881 - ♿️(frontend) improve participants toggle a11y label #880 - ♿️(frontend) make carousel image decorative #871 - ♿️(frontend) reactions are now vocalized and configurable #849 - ♿️(frontend) improve background effect announcements #879 -- ♿(frontend) improve menu focus management #869 ### Fixed diff --git a/src/frontend/README.md b/src/frontend/README.md index 7e12a02e..677e7f76 100644 --- a/src/frontend/README.md +++ b/src/frontend/README.md @@ -57,6 +57,7 @@ useRestoreFocus(isOpen, { const first = panelRef.current?.querySelector( '[data-attr="tools-list"] button' ) + // Leading semicolon avoids ASI issues when a line starts with '(' ;(first as HTMLElement | null)?.focus({ preventScroll: true }) }, })