Review 14.3 Merged

94804[BUGFIX] Centralize focus handling in the backend wizard

Benjamin Kott CR +2 V +2 Normal +132 −17 updated 07/17/26, 07:50

Commit message

typo3-backend-wizard never moved focus into a step on its own, leaving
it up to individual steps. As a result keyboard users landed on
inconsistent elements after navigating between steps, and steps that
load their content asynchronously received no focus at all.

Handle focus in the wizard itself. On every step change focus is
directed at the selected radio, otherwise the first form control and
otherwise the primary action button. Steps that build their content
asynchronously re-render the wizard once their data settles, so the
attempt is repeated on each update until a target appears; steps no
longer need to wire up focus themselves. Enter pressed inside a bare
input now advances the wizard, emulating a form submit.

The ad-hoc focus workaround in the form wizard's settings step is
removed as it is now handled centrally.

Review

  • Code review CR +2 Done
    • Benjamin Kott +2
  • Verified V +2 Done
    • Benjamin Kott +2
    • core-ci +1 CI

Issues 1

Files 8

Review log 34

  1. Benjamin Kott commented on patch set 1 07/17/26, 07:38

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 07/17/26, 07:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/104861

  3. Benjamin Kott voted on patch set 1 CR +2 V +2 07/17/26, 07:50

  4. Benjamin Kott merged patch set 2 07/17/26, 07:50