Skip to content

Fix: accessible color contrast#361

Open
rami-elementor wants to merge 1 commit intocore-betafrom
a11y-color-contrast
Open

Fix: accessible color contrast#361
rami-elementor wants to merge 1 commit intocore-betafrom
a11y-color-contrast

Conversation

@rami-elementor
Copy link
Copy Markdown
Contributor

@rami-elementor rami-elementor commented Apr 18, 2026

Several text colors are potentially below the 4.5:1 contrast ratio for normal text - WCAG 1.4.3 requires 4.5:1 for normal text.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates several UI text/background colors in the plugin’s SCSS to improve accessibility (specifically, color contrast) within the WordPress admin screens.

Changes:

  • Updated secondary/tertiary text colors (e.g., row actions, license status, upsell link) to a darker gray for better contrast.
  • Adjusted the “refresh success” message styling to a higher-contrast success treatment.
  • Increased contrast for the erroneous-snippet switch indicator text.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/css/settings.scss Improves contrast for license status text and the refresh-success message styling.
src/css/manage/_snippets-table.scss Improves contrast for snippet table row action text.
src/css/common/_upsell.scss Improves contrast for upsell banner link text.
src/css/common/_switch.scss Improves contrast for the erroneous switch indicator text.

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.

2 participants