From 325550e57f7a1f43645822f50a0a26cd133ed43b Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Wed, 15 Jul 2026 13:23:41 +0200 Subject: [PATCH] fix(frontend): meet WCAG AA contrast on the config-block link text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Storybook accessibility test flagged the share-link block: with no explicit color it inherited a muted grey that renders as #888888 on the #f8f8f8 tertiary-fill background in CI's Chromium — a 3.33:1 contrast, below the 4.5:1 AA threshold. Set the text to the theme's primary text token so the colour is explicit and high-contrast in both light and dark themes instead of depending on an inherited value that varies by browser. --- frontend/src/components/clients/ConfigBlock.css | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/clients/ConfigBlock.css b/frontend/src/components/clients/ConfigBlock.css index 5a7567786..474158099 100644 --- a/frontend/src/components/clients/ConfigBlock.css +++ b/frontend/src/components/clients/ConfigBlock.css @@ -38,6 +38,7 @@ body.light .config-block .ant-tag.ant-tag-filled.ant-tag-gold { word-break: break-all; white-space: pre-wrap; padding: 6px 8px; + color: var(--ant-color-text); background: var(--ant-color-fill-tertiary); border-radius: 4px; user-select: all;