Skip to content

Fix Mantis #47085: improve Tag example contrast#13

Open
marvimarv wants to merge 1 commit intorelease_10from
fix-mantis-47085-tag-contrast-example-clean
Open

Fix Mantis #47085: improve Tag example contrast#13
marvimarv wants to merge 1 commit intorelease_10from
fix-mantis-47085-tag-contrast-example-clean

Conversation

@marvimarv
Copy link
Owner

@marvimarv marvimarv commented Mar 24, 2026

Summary

  • Adjust the fixed foreground color in the Kitchen Sink Button/Tag example so the red-on-green sample meets WCAG 2.1 AA contrast for normal text.
  • Scope is intentionally minimal: only components/ILIAS/UI/src/examples/Button/Tag/base.php is changed.

Test plan

  • Open goto.php/stys/21/ButtonTagTag/default/delos
  • Verify the "with fix colors" red/green simple tag now reaches at least 4.5:1

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant