Area: Engagement (audit p9) · Surface: /games/{platform} · Dimension: contrast · Severity: minor
The no-screenshot fallback card for platform games paints var(--color-primary) on a hardcoded dark navy (#2a2a4a). The background never changes with the theme, so in the light theme the blue gamepad icon sits at 2.66:1 against the dark panel — a low-contrast, off-theme dark block in an otherwise light page. Law 3 wants semantic tokens, not hardcoded dark-mode colors that survive into the light theme.
Evidence
platform/templates/games/platform/index.php:156 `<div style="height:180px;background:#2a2a4a;display:flex;align-items:center;justify-content:center;color:var(--color-primary);font-size:3rem;"><i class="fas fa-gamepad"></i></div>`. In the light theme --color-primary resolves to #2563eb (style.css:9959); #2563eb on #2a2a4a measures 2.66:1, below the 3:1 AA threshold for graphical objects/icons.
Suggested fix. Swap background:#2a2a4a for a semantic surface token (e.g. background: var(--color-bg-elevated) or var(--color-bg-card)) so the placeholder follows the active theme, and keep color: var(--color-text-muted) for the icon. The same fix applies to the screenshot wrapper background:#000 at index.php:151 if a non-image case can show through.
Filed by the automated tenant-app audit and adversarially evidence-verified. Status: verified. Open — not yet actioned.
Patrick Bass
@mobieus