Yoast / Yoast/wordpress-seo

Mismatch green SEO score color

Open
#18,052 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

severity: trivial Yoast: Content optimization
Dominant language
JavaScript
Stars
2k
Forks
975
Avg merge
3d 13h
Merged PRs (30d)
36

Description

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened.

The green color used to mark a page or post as "SEO good" uses two different colors in the Gutenburg editor. The green used in the header is rgb(122, 208, 58), while the color used within the Yoast tab under the SEO Analysis is rgb(0, 138, 0).

Please describe what you expected to happen and why.

Both of the colors to be the same.

How can we reproduce this behavior?
  1. Open the Gutenburg editor on any post or page with a green SEO score.
  2. Navigate to the Yoast tab from the header of the page.
  3. Look at the SEO Analysis section and compare with the color used in the header.
Technical info
  • If relevant, which editor is affected (or editors):
  • Classic Editor
  • Gutenberg
  • Classic Editor plugin
  • Which browser is affected (or browsers):
  • Chrome
  • Firefox
  • Safari
  • Other
Used versions
  • WordPress version: 5.9
  • Yoast SEO version: 18.1
  • Gutenberg plugin version: 12.5.4
  • Tested with theme: Twenty Twenty-One

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the mismatch in the Gutenberg editor by comparing the green SEO score in the page header with the Yoast tab's SEO Analysis section. Trace the two color definitions from these entry points; done means both green SEO scores use the same color.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.