focusTrap

abstract var focusTrap: Boolean

Set to true to move focus into the overlay automatically on open and keep it inside: Tab and Shift+Tab cycle through the overlay's content until the overlay is closed.

Focus moves to the first tabbable element in the tab order. This can be the overlay itself if it has tabindex attribute set to 0 on the host element or the overlay shadow DOM part.