#110826Backend: focus outline of pagination links is below 3:1 contrast (1.7:1 dark, 1.9:1 light)
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
- 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.
- Press Tab until a page link is focused.
- 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
-
Gerrit Code Review pushed patch set 1 for main to change 96950 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-20T17:59:08+00:00" > 10/20/26, 17:59 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96950 <span data-processor="relativetime" data-value="2026-10-24T17:48:20+00:00" > 10/24/26, 17:48 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97432 <span data-processor="relativetime" data-value="2026-11-09T12:35:53+00:00" > 11/09/26, 12:35 </span>
-
Christian Rath-Ulrich commented and changed status
Under ReviewResolved done0 %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.