From 4f7dce3128de15c847170d334966bd8d0483f62e Mon Sep 17 00:00:00 2001 From: Marvin Hackfort Date: Tue, 24 Mar 2026 12:22:13 +0100 Subject: [PATCH] Fix Mantis #47085: raise contrast for fixed-color Tag example. The Kitchen Sink Tag example used a red/green combination below WCAG AA for normal text. This updates the fixed foreground color to a darker red so the sample demonstrates an accessible contrast ratio. Made-with: Cursor --- 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);