Stimulus: autofocus the first invalid field after Turbo update

5493
0

Turbo stream re-renders can drop focus, which is rough for accessibility. Use turbo:render to focus the first invalid field inside a specific container. This feels “native” and reduces user friction.