fix(a11y): letter-canvas "added" diff badge contrast (WP-27)

The green "nieuw" badge used dark text on groen-500 (#39870c) = 3.41:1,
failing WCAG AA 4.5:1 (axe, WithDiff story). Dark text passes on the orange
"changed" badge (4.79:1) but no green passes it. Give the added badge white
text on groen-700 (#176e1b) = 6.4:1; the changed badge is unchanged. The
prior comment's blanket "dark text, not white" was correct for orange but
wrong for green. Full storybook axe gate now green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
eho
2026-07-21 13:55:24 +02:00
co-authored by Claude Opus 4.8
parent 5968ef9030
commit e5edae4970
2 changed files with 734 additions and 732 deletions
+730 -730
View File
File diff suppressed because one or more lines are too long