* Focus trapping * @private
()
| 478 | * @private |
| 479 | */ |
| 480 | async forwardToFirst() { |
| 481 | const firstFocusable = await getFirstFocusableElement(this); |
| 482 | |
| 483 | if (firstFocusable) { |
| 484 | firstFocusable.focus(); |
| 485 | } else { |
| 486 | this._root.focus(); |
| 487 | } |
| 488 | } |
| 489 | |
| 490 | /** |
| 491 | * Focus trapping |
nothing calls this directly
no test coverage detected
searching dependent graphs…