Review main Abandoned

90646[TASK] Properly handle visibility of focused/overlapped elements

Andreas Nedbal CR 0 V 0 Normal +116 −0 updated 09/10/25, 07:54

Commit message

More and more sticky/floating elements make their way into designs
and these cause issues with focus visibility because elements tend
to be focused below sticky headers etc.

This change adds a FocusControl class that is injected into every
ModuleTemplate that allows easy handling of focus visibility with
elements that potentially overlap others.

Simply set `.t3js-obstacle` on any sticky/floating element and as
soon as an element is focused below it, the element will scroll
back into view.

Review

  • Code review CR 0
  • Verified V 0
    • core-ci +1 CI

Issues 1

Files 3

Review log 23

  1. Andreas Nedbal uploaded patch set 1 09/09/25, 16:52

  2. core-ci voted on patch set 1 V +1 09/09/25, 17:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84735

  3. Andreas Nedbal abandoned the change 09/10/25, 07:54