Issue Bug Resolved

#110826Backend: focus outline of pagination links is below 3:1 contrast (1.7:1 dark, 1.9:1 light)

Sebastian Mendel 09/29/26, 06:03 updated 11/09/26, 12:40

Description

Problem

The keyboard focus indicator of backend pagination links is barely visible. The rule in Build/Sources/Sass/component/_pagination.scss (lines 81-84):

.page-link:not(span):focus-visible {
    outline: var(--typo3-outline-width) var(--typo3-outline-style) color-mix(in srgb, var(--typo3-pagination-border-color), transparent 25%);
}

On focus, --typo3-pagination-border-color resolves to --typo3-state-default-hover-border-color = light-dark(neutral-35, neutral-70). The outline is 4px wide, 75 % opaque, with outline-offset: 0, so it is drawn on the module background --typo3-surface-container-lowest.

Steps to reproduce

  1. Open the Styleguide backend module (EXT:styleguide), Components > Pagination, or the Redirects module with more than one page of redirects. First seen in a third-party extension’s backend module that uses the core pagination markup.
  2. Press Tab until a page link is focused.
  3. Compare in dark and light colour scheme.

Expected

The focus indicator has at least 3:1 contrast against the adjacent background (WCAG 2.2 SC 1.4.11 Non-text Contrast, AA).

Actual

Computed colours, outline composited over the module background:

Scheme / theme Outline Module background Resulting outline Contrast
dark / modern rgb(72,76,81) / 0.75 rgb(19,20,22) rgb(59,62,66) 1.71:1
dark / classic rgb(77,77,77) / 0.75 rgb(20,20,20) rgb(62,62,62) 1.73:1
dark / fresh rgb(73,71,82) / 0.75 rgb(20,19,22) rgb(60,58,67) 1.66:1
light / modern rgb(161,165,171) / 0.75 rgb(252,252,253) – 1.89:1

Versions

TYPO3 14.3.7 (same rule on main). Measured with the compiled backend.css of 14.3.7 in headless Chromium 154.

Cause

The outline reuses the semi-transparent hover border colour instead of a dedicated focus colour with sufficient contrast.

Related: #107721 (focus contrast below 3:1 on the login button).

Reviews 2

History 14

  1. Christian Rath-Ulrich commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-09T12:40:12+00:00" > 11/09/26, 12:40 </span>

    Applied in changeset commit:b3a452afd0136914162c2a5d68f9f5313d709eaa.