From 71637dc199be12f31c0812110ea9d2001ade009a 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 e8be8117..533782ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,13 +33,12 @@ and this project adheres to - ✨(frontend) add configurable redirect for unauthenticated users #904 ### 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 }) }, })