Skip to content

Fix: accessible color contrast - #361

Merged
rami-elementor merged 1 commit into
core-betafrom
a11y-color-contrast
Apr 23, 2026
Merged

Fix: accessible color contrast#361
rami-elementor merged 1 commit into
core-betafrom
a11y-color-contrast

Conversation

@rami-elementor

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

Copy link
Copy Markdown
Contributor

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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

@rami-elementor
rami-elementor merged commit 62b338f into core-beta Apr 23, 2026
12 checks passed
@rami-elementor
rami-elementor deleted the a11y-color-contrast branch April 23, 2026 05:16
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.

3 participants