mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-31 20:58:03 +00:00
📝(docs) update changelog
Document focus management pattern entry
This commit is contained in:
+1
-2
@@ -9,13 +9,12 @@ and this project adheres to
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Changed
|
### 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) add accessible back button in side panel #881
|
||||||
- ♿️(frontend) improve participants toggle a11y label #880
|
- ♿️(frontend) improve participants toggle a11y label #880
|
||||||
- ♿️(frontend) make carousel image decorative #871
|
- ♿️(frontend) make carousel image decorative #871
|
||||||
- ♿️(frontend) reactions are now vocalized and configurable #849
|
- ♿️(frontend) reactions are now vocalized and configurable #849
|
||||||
- ♿️(frontend) improve background effect announcements #879
|
- ♿️(frontend) improve background effect announcements #879
|
||||||
- ♿(frontend) improve menu focus management #869
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ useRestoreFocus(isOpen, {
|
|||||||
const first = panelRef.current?.querySelector(
|
const first = panelRef.current?.querySelector(
|
||||||
'[data-attr="tools-list"] button'
|
'[data-attr="tools-list"] button'
|
||||||
)
|
)
|
||||||
|
// Leading semicolon avoids ASI issues when a line starts with '('
|
||||||
;(first as HTMLElement | null)?.focus({ preventScroll: true })
|
;(first as HTMLElement | null)?.focus({ preventScroll: true })
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user