Commit 55b49f0
authored
fix: re-establish focus after navigation for WebKit keyboard nav test (#193)
WebKit requires focus to be explicitly set after page navigation before
Tab key navigation works correctly. Without this, pressing Tab results
in focus going to BODY instead of the next focusable element.
The fix re-focuses on the search input after form submission navigates
to the search results page, establishing a proper focus context before
pressing Tab to navigate to the next element.1 parent e2827c3 commit 55b49f0
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
455 | 462 | | |
456 | 463 | | |
457 | | - | |
| 464 | + | |
458 | 465 | | |
459 | 466 | | |
460 | 467 | | |
| |||
0 commit comments