Unmount and remount to see autofocus() fire again — the browser won't do this
on its own.
The signal ref pattern is useful when the element reference needs to be passed up or shared — focus fires each time the signal resolves to a new element.
Dialog
Press Tab / Shift+Tab — focus wraps inside the dialog. Closing restores focus to the trigger button.
Dialog — Cancel focused first
Focus an item, then use ArrowDown / ArrowUp to cycle with wrap,{" "} Home / End to jump.