docs(canvas): clean up Known Issues section — remove duplicate + fix pre-commit action #202

Merged
core-lead merged 2 commits from docs/fix-audit-known-issues into main 2026-05-10 00:27:54 +00:00

View File

@ -49,14 +49,6 @@ canvas/src/
### 🟡 MEDIUM: Pre-commit Hook Verification
**Issue:** Pre-commit hook checks 'use client' on hook-using components but unclear if it actually fails on violations.
### ✅ MEDIUM: text-ink-soft WCAG AA contrast (fixed)
**File:** `canvas/src/app/globals.css` + all canvas components
**Issue:** `--color-ink-soft` (#8d92a0) on dark zinc (#0e1014) = ~2.2:1 contrast,
below the WCAG 2.1 AA minimum of 4.5:1 for normal text.
**Impact:** Used in 261 instances across 52 files (captions, group titles, hints).
**Fix:** Replaced `text-ink-soft``text-ink-mid` (7.6:1) across all canvas source.
PR: `fix/ink-soft-wcag-contrast`.
**Action:** Verify the hook is enforcing the rule correctly.
### ✅ MEDIUM: text-ink-soft WCAG AA contrast (fixed)