Activates the scope and captures the identifier that should regain focus.
OptionalpreviousFocusId: stringThe item that should receive initial focus.
Deactivates the scope.
The captured identifier that should regain focus.
Returns the current focus identifier while active.
Moves focus to an enabled item while active.
Moves focus forward according to the trap policy.
Moves focus backward according to the trap policy.
Headless focus capture, navigation, and restoration state.