Skip to content

🎨 UI/UX: Low color contrast on locked content styling#585

Open
hieuit095 wants to merge 1 commit intoXIU2:masterfrom
hieuit095:contribai/fix/ui/low-color-contrast-on-locked-content-sty
Open

🎨 UI/UX: Low color contrast on locked content styling#585
hieuit095 wants to merge 1 commit intoXIU2:masterfrom
hieuit095:contribai/fix/ui/low-color-contrast-on-locked-content-sty

Conversation

@hieuit095
Copy link
Copy Markdown

Problem

The locked content indicator styling uses color: #ffffff (white text) on background-color: #e24e72 (pink/red). This combination fails WCAG AA contrast requirements (4.5:1 minimum for normal text). White text on pink background typically achieves only ~2.5:1 contrast ratio.

Severity: medium
File: Zhiyoo-Beautification.user.js

Solution

Use darker text or lighter background. For example: color: #ffffff; background-color: #c41e3a; or `color: #2d0a12; background-color: #e24e72;

Changes

  • Zhiyoo-Beautification.user.js (modified)

Testing

  • Existing tests pass
  • Manual review completed
  • No new warnings/errors introduced

The locked content indicator styling uses `color: #ffffff` (white text) on `background-color: #e24e72` (pink/red). This combination fails WCAG AA contrast requirements (4.5:1 minimum for normal text). White text on pink background typically achieves only ~2.5:1 contrast ratio.

Affected files: Zhiyoo-Beautification.user.js

Signed-off-by: hieuit095 <139037144+hieuit095@users.noreply.github.com>
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