An early preview of Chrome 139 includes six new CSS features, including the first hint of custom functions.
A Primer on Focus Trapping
Focus trapping is about managing focus within an element, such that focus always stays within it. The whole process sounds simple in theory, but it can quite difficult to build in practice, mostly because of the numerous parts to you got to manage.