If the scope contains the currently focused element, moves focus to the closest focusable element below it.
Optionaloptions: UnorderedFocusOptionsFocus options.
true if an element was focused.
Focuses the first focusable element inside a focus scope.
Optionaloptions: OrderedFocusOptionsFocus options.
true if an element was focused.
Focuses the last focusable element inside a focus scope.
Optionaloptions: OrderedFocusOptionsFocus options.
true if an element was focused.
If the scope contains the currently focused element, moves focus to the closest focusable element to the left.
Optionaloptions: UnorderedFocusOptionsFocus options.
true if an element was focused.
If the scope contains the currently focused element, focuses the next element in Tab order.
Optionaloptions: OrderedFocusOptionsFocus options.
true if an element was focused.
If the scope contains the currently focused element, focuses the previous element in Tab order.
Optionaloptions: OrderedFocusOptionsFocus options.
true if an element was focused.
If the scope contains the currently focused element, moves focus to the closest focusable element to the right.
Optionaloptions: UnorderedFocusOptionsFocus options.
true if an element was focused.
If the scope contains the currently focused element, moves focus to the closest focusable element above it.
Optionaloptions: UnorderedFocusOptionsFocus options.
true if an element was focused.
Returns true if the currently focused element is contained within the scope container.
Returns true if the scope contains the focused element, or if the scope is part of an active focus trap.
Controls that move focus inside a focus scope.