fix(voyage): resolve 4 color-contrast WCAG violations in light theme (09132940)

This commit is contained in:
Kjell Tore Guttormsen 2026-05-10 21:18:53 +02:00
commit 4910999198
2 changed files with 33 additions and 0 deletions

View file

@ -843,6 +843,14 @@
font: inherit;
}
.voyage-back-btn:hover { background: var(--color-bg-soft); }
/* v4.3 remediation: color-contrast fix for finding 09132940.
The vendored DS sets `.key-stat__label` to var(--color-text-tertiary)
which is #6E7781 in light theme — borderline 4.5:1 WCAG-AA contrast
and flagged by axe-core on the small (11px) label text. Override
scoped to playground (no DS file changes) using --color-text-secondary
(#4D5663, 7.4:1) which clears WCAG-AA comfortably for labels. */
.key-stat__label { color: var(--color-text-secondary); }
</style>
</head>
<body>