Set first form element to have focus when switching tabs
[Fixes #55556834]