Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
docs(e2e): correct the badge contrast waiver note — both themes fail
Sergey Kozyrenkoe8aa8df192f3
diff --git a/frontend/e2e/specs/cross/a11y.spec.ts b/frontend/e2e/specs/cross/a11y.spec.tsindex 6c2b636b..4aeba9e9 100644--- a/frontend/e2e/specs/cross/a11y.spec.ts+++ b/frontend/e2e/specs/cross/a11y.spec.ts@@ -14,11 +14,10 @@ const ALLOWLIST: A11yAllowlist = {// targets are class chains, so the pattern pins the 50%-muted class; any// other contrast violation on the page still fails.'/flows/:flowId': [{ rule: 'color-contrast', target: /text-muted-foreground\\?\/50/ }],- // Colored Badge variants use text-{color}-600 with no dark override, so on- // the dark near-black background the text fails contrast (all seven color- // variants share this; the knowledges list renders the blue one). Real- // dark-mode debt, queued for a palette fix — remove when badge dark text- // shades land.+ // Colored Badge variants carry a single text shade for both themes, and no+ // shade clears AA on both grounds: measured, blue passes on light (4.66) and+ // fails on dark (3.09) — which is why only the dark scan flags it here. All+ // seven colors share the defect; queued for a per-theme palette fix.'/knowledges': [{ rule: 'color-contrast', target: /border-blue-500/ }],};