From d1fed2b52239b7364b4975f0a301bee4646861a3 Mon Sep 17 00:00:00 2001 From: Marvin Hackfort Date: Tue, 24 Mar 2026 12:28:51 +0100 Subject: [PATCH] Fix #47085 Tag example contrast Set a darker fixed foreground color in the Button/Tag Kitchen Sink example so the red/green sample meets WCAG AA contrast for normal text. --- components/ILIAS/UI/src/examples/Button/Tag/base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ILIAS/UI/src/examples/Button/Tag/base.php b/components/ILIAS/UI/src/examples/Button/Tag/base.php index f8fe80d171bd..42dda7a81b3a 100755 --- a/components/ILIAS/UI/src/examples/Button/Tag/base.php +++ b/components/ILIAS/UI/src/examples/Button/Tag/base.php @@ -56,7 +56,7 @@ function base() $lightcol = $df->color('#00ff00'); $darkcol = $df->color('#00aa00'); - $forecol = $df->color('#d4190b'); + $forecol = $df->color('#990000'); $buffer[] = '
with fix colors:
'; $tag = $tag->withBackgroundColor($lightcol);