Review main Merged

91364[BUGFIX] Scale default TYPO3 backend font to user agent preference

Benjamin Franzke CR +2 V +2 Easy +12 −6 updated 11/13/25, 12:16

Commit message

The TYPO3 backend already implicitly respects browser font size
settings by using `rem` unit for some specific elements that specify
explicit font sizes, but the main backend font-size (as inherited from
`<body>`) still uses a fixed px unit, causing user agent font settings
like "small" or "large" to be ingored, which results in a mixture of
font sizes in some elements to be scaled to the user preference, while
others kept at "medium".

With this patch – applied only to v14 – we want to start rolling out
relative units for all font sizes. There will likely be placed that
require further adaption, but we believe that changing the base already
provides a more harmonized experience for users with custom font size
defaults.

Font sizes for users with a default browser font size (e.g. "medium")
are not changed.

Review

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

Issues 2

Files 4

Review log 911

  1. Benjamin Franzke uploaded patch set 1 10/30/25, 12:45

  2. core-ci voted on patch set 1 V +1 10/30/25, 12:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88135

  3. Benjamin Franzke uploaded patch set 2 V +1 11/11/25, 15:04

  4. core-ci voted on patch set 2 V +1 11/11/25, 15:20 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89024

  5. Benni Mack commented on patch set 2 11/13/25, 11:57

    _module.scss:22

    it's time to get rid of this at some point...
  6. Benni Mack voted on patch set 2 CR +1 V +1 11/13/25, 11:57

  7. Benjamin Franzke commented on patch set 2 11/13/25, 11:59

    _module.scss:22 Reply

    Required as long as page-tree toolbar and content docheader are intended to align in height. If that is visually changed it can be removed, yet, but I'd say that is out of scope for this patch which addresses accessibility.
  8. Benjamin Kott commented on patch set 2 CR +1 V +1 11/13/25, 12:14

    This patch can only be considered as a starter patch. It exposes a lot of misalignments in the backend we need to fix especially for users with large text renderings. I am fine merging this as is. But we need to take time during v14 to adjust and fix all the mishaps.

    _module.scss:22 Reply

    i think we can get rid of it when we rework the visual display of the docheader and the toolbar of the pagetree. i would drop it in that step.
  9. Benjamin Kott commented on patch set 2 11/13/25, 12:14

    _module.scss:22 Reply

    Done
  10. Benjamin Franzke voted on patch set 2 CR +2 V +2 11/13/25, 12:16

  11. Benjamin Franzke merged patch set 3 11/13/25, 12:16