Repository navigation
Add content analysis assessment docs - #436
FAMarfuaty wants to merge 34 commits into
Conversation
Add an assessments overview page and one page per SEO assessment (24 pages), copied from SCORING SEO.md in the yoastseo package (wordpress-seo trunk dde860ac5583805cdb5d5d93f82661753a5b0a04). Card fields not in the source (highlighting, morphology, cornerstone, content types) are taken from the code. Errors in the source doc were corrected against the code. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add one page per readability assessment (9 pages), copied from SCORING READABILITY.md in the yoastseo package. Explain the readability penalty system and overall score in the assessments overview, and add the pages to the sidebar. The overall score thresholds are taken from ReadabilityScoreAggregator, because the table in SCORING READABILITY.md doesn't match the code. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the content-type specific scoring from SCORING SEO PRODUCT.md, SCORING READABILITY PRODUCT.md, SCORING TAXONOMY.md and SCORING SEO COLLECTION.md to the assessment pages, and add pages for the assessments that only run on product pages: Image alt attributes, Product identifier, SKU and Lists. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add pages for the assessments of Yoast Local SEO, Yoast Video SEO and Yoast WooCommerce SEO, copied from the js/src/assessments/README.md files in those (private) repositories and checked against their code. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Show on each assessment page which content types it runs on in WordPress, Shopify and Google Docs. Replace the single content type table in the overview with one tab per platform, so the tables stay small. The pages describe Yoast SEO 28.9, and Yoast SEO for Google Docs after its yoastseo bump to the 28.9 version. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying yoast-developer with
|
| Latest commit: |
e71ebd2
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d264907d.yoast-developer.pages.dev |
| Branch Preview URL: | https://226-add-documentation-for-fr.yoast-developer.pages.dev |
The overall SEO and readability scores are on a 0-100 scale. To get the overall traffic light, getIndicatorForScore() divides the score by 10 and rates it with the same scale as the individual scores. Add this step to both overall score sections, with the score ranges per traffic light for the SEO score. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Penalty" was only a column name in the readability tables, which made the overall readability score hard to follow. Explain that the readability analysis counts problems instead of averaging scores, why languages that are not fully supported are stricter, and add worked examples for English and Swedish. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The page said that yoastseo contains a "snippet editor". The preview and its fields are in the separate @yoast/search-metadata-previews package, and the UI now calls them "Search appearance" and "Google preview". Update the text, link the assessments overview, and replace the 2020 screenshots with new ones from Yoast SEO 28.9-RC5. Also fix the alt text of the readability screenshot, which said "SEO & accessibility checks". Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The readability screenshot still showed the Flesch reading ease assessment, which moved to Insights. The SEO screenshot showed the old image alt attributes result and had no focus keyphrase set. Replace both with screenshots from Yoast SEO 28.9-RC5, taken on a post with a focus keyphrase. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The previous screenshots were taken with Yoast SEO Premium active, and the readability screenshot only showed good results. Retake all four screenshots with Yoast SEO 28.9-RC5 without Premium, on a post with realistic content that has readability problems (a long paragraph and too many long sentences). Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The readability screenshot only showed good results. Replace it with a screenshot of a post with realistic content that has two readability problems (a long paragraph and too many long sentences), taken with Yoast SEO Premium 28.9 active, so there are no upsells. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Yoast SEO Premium only registers the text alignment assessment in the block editor (isTextAlignmentAssessmentAvailable: isBlockEditor() in metabox.js, and false in elementor.js). Say this on the text alignment page and in the assessments overview. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The keyphrase density is multiplied by a keyphrase length factor (0.7 + keyphrase length / 3), which the page didn't mention. Add the two count-based rules for texts of 100+ words (one match is always too few; two matches is good when the recommended minimum is 2). Replace the outdated "step size of 214 words" from SCORING SEO.md with the formulas from recommendedKeywordCount.js, which give about 207 words for a 1-word keyphrase. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checked against yoastseo origin/trunk: - Keyphrase length: the string says "Set a keyphrase", and related keyphrases have their own string. - Keyphrase in meta description: green means 1-2 matches, not 1-2 sentences. - Keyphrase in subheadings: "more than half" of the words, 300 words or more is red, the strings say "H2 and H3 subheadings", highlighting only when a subheading reflects the topic, and Shopify cornerstone posts and pages keep the default boundary. - Keyphrase in SEO title: the red fallback has no position condition, the keyphrase is in double quotes, and Japanese has its own branch. - Link placement: the final "." or "!" is outside the link. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checked against yoastseo, Premium and Shopify: - Keyphrase in slug: doesn't run on the front page, and Shopify cornerstone collections keep orange. - Previously used keyphrase: doesn't run for related keyphrases, and the strings say "once before" and "multiple times before" (links, no count). - Keyphrase distribution: "the keyphrase" in the orange string, and explain when a sentence contains the keyphrase. - Function words in keyphrase: doesn't run for a keyphrase in double quotes. - Title: Premium adds it on all post types, not only when the editor has a title. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checked against yoastseo origin/trunk: - SEO title width: green is more than 1 px. - Meta description length: Shopify cornerstone collections keep orange. - Text length: only taxonomies use the 34j/34k links. - Single title: H1s without text are not counted. - Images: videos are only counted when a platform turns this on. - Link placement: the final "." or "!" is outside the link. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In these strings, the final "." or "!" is outside the link in the code, so it shouldn't be bold in the docs. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checked against yoastseo, WooCommerce SEO and Shopify: - Image alt attributes: 33c/33d are set by WooCommerce SEO, and the "one image" result only shows when one of several images has no alt attribute. - Redundant phrase in alt text: only the first sentence is checked. - Non-descriptive alt text: symbols also count. - Remove the Shopify links: the pages list the WordPress links. - Link placement: the final "." or "!" is outside the link. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checked against yoastseo, Premium, WooCommerce SEO, Local SEO and Video SEO: - Subheading distribution: 300 words or fewer is green, and the subheadings are highlighted, not the sections. - Sentence length: add the product page percentages. - Consecutive sentences: add the string for multiple instances. - Transition words: fix the red/orange string, and 200 words already counts as a long text. - Word complexity: exactly 10% is not green. - Text alignment: the 50-character limit is per element. - Local title and slug: need a saved city. - Video body and title: only run when a video was found in the post. - Link placement: the final "." or "!" is outside the link. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The assessment pages list the links and feedback strings of Yoast SEO for WordPress. Say this once in the overview, and that Shopify uses other shortlinks and Google Docs can show the default yoastseo strings. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The two feedback strings depend on how many places in the text have 3 or more consecutive sentences that start with the same word (_n() on groupedSentenceBeginnings.total). Give each its own row. Part of #226. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
The documentation contains incorrect scoring boundaries, keyphrase-matching rules, and aggregation exceptions that could lead readers to misclassify SEO and readability results.
5 open issues
What changed in this PR
This PR brings content analysis assessment documentation into developer.yoast.com under Yoast SEO features → Analysis → Assessments, covering the intended Yoast SEO 28.9 state.
Changes:
- Adds 43 assessment pages covering SEO, readability, and add-ons, with applicability details and scoring tables.
- Adds an overview explaining scores and platform-specific content types, plus sidebar navigation.
- Refreshes the analysis overview, package references, preview terminology, and screenshots.
| File | Description |
|---|---|
sidebars.js |
Adds assessment categories and navigation. |
docs/features/analysis/overview.md |
Updates analysis and search-preview documentation. |
docs/features/analysis/assessments/woocommerce-seo/product-description.md |
Documents short-description length scoring. |
docs/features/analysis/assessments/video-seo/video-title.md |
Documents video wording in titles. |
docs/features/analysis/assessments/video-seo/video-body.md |
Documents video-page text length. |
docs/features/analysis/assessments/seo/title.md |
Documents title-presence scoring. |
docs/features/analysis/assessments/seo/text-length.md |
Documents content-specific length thresholds. |
docs/features/analysis/assessments/seo/sku.md |
Documents product SKU checks. |
docs/features/analysis/assessments/seo/single-title.md |
Documents multiple-H1 checks. |
docs/features/analysis/assessments/seo/seo-title-width.md |
Documents title-width scoring. |
docs/features/analysis/assessments/seo/redundant-phrase-in-alt-text.md |
Documents redundant alt-text phrases. |
docs/features/analysis/assessments/seo/product-identifier.md |
Documents identifier and barcode checks. |
docs/features/analysis/assessments/seo/previously-used-keyphrase.md |
Documents keyphrase reuse and disabling. |
docs/features/analysis/assessments/seo/outbound-links.md |
Documents outbound-link scoring. |
docs/features/analysis/assessments/seo/non-descriptive-alt-text.md |
Documents non-descriptive alt-text detection. |
docs/features/analysis/assessments/seo/meta-description-length.md |
Documents meta-description length thresholds. |
docs/features/analysis/assessments/seo/keyphrase-stuffing-in-alt-text.md |
Documents excessive alt-text keyphrase use. |
docs/features/analysis/assessments/seo/keyphrase-length.md |
Documents keyphrase length limits. |
docs/features/analysis/assessments/seo/keyphrase-in-subheadings.md |
Documents subheading keyphrase matching. |
docs/features/analysis/assessments/seo/keyphrase-in-slug.md |
Documents slug keyphrase scoring. |
docs/features/analysis/assessments/seo/keyphrase-in-seo-title.md |
Documents title matching and placement. |
docs/features/analysis/assessments/seo/keyphrase-in-meta-description.md |
Documents meta-description keyphrase matches. |
docs/features/analysis/assessments/seo/keyphrase-in-introduction.md |
Documents introductory keyphrase matching. |
docs/features/analysis/assessments/seo/keyphrase-distribution.md |
Documents distribution scoring and calculation. |
docs/features/analysis/assessments/seo/keyphrase-density.md |
Documents density and recommended match counts. |
docs/features/analysis/assessments/seo/internal-links.md |
Documents internal-link scoring. |
docs/features/analysis/assessments/seo/images.md |
Documents image counts and product thresholds. |
docs/features/analysis/assessments/seo/image-alt-attributes.md |
Documents missing product-image alt text. |
docs/features/analysis/assessments/seo/function-words-in-keyphrase.md |
Documents function-word-only keyphrases. |
docs/features/analysis/assessments/seo/duplicate-alt-text.md |
Documents duplicate alt-text detection. |
docs/features/analysis/assessments/seo/competing-links.md |
Documents competing anchor-text matches. |
docs/features/analysis/assessments/seo/alt-text-length.md |
Documents alt-text length warnings. |
docs/features/analysis/assessments/readability/word-complexity.md |
Documents complex-word scoring. |
docs/features/analysis/assessments/readability/transition-words.md |
Documents transition-word thresholds. |
docs/features/analysis/assessments/readability/text-presence.md |
Documents minimum content requirements. |
docs/features/analysis/assessments/readability/text-alignment.md |
Documents center-alignment warnings. |
docs/features/analysis/assessments/readability/subheading-distribution.md |
Documents section-length thresholds. |
docs/features/analysis/assessments/readability/sentence-length.md |
Documents language and product thresholds. |
docs/features/analysis/assessments/readability/passive-voice.md |
Documents passive-voice percentages. |
docs/features/analysis/assessments/readability/paragraph-length.md |
Documents paragraph-length thresholds. |
docs/features/analysis/assessments/readability/lists.md |
Documents product-page list checks. |
docs/features/analysis/assessments/readability/consecutive-sentences.md |
Documents repetitive sentence beginnings. |
docs/features/analysis/assessments/overview.md |
Adds scoring explanations and synchronized platform tables. |
docs/features/analysis/assessments/local-seo/local-title.md |
Documents city matching in titles and headings. |
docs/features/analysis/assessments/local-seo/local-slug.md |
Documents city matching in slugs. |
docs/features/analysis/assessments/local-seo/local-schema.md |
Documents address block and shortcode checks. |
Review effort: Balanced
| | 0 (if it is not explicitly set as a score) | Feedback (gray traffic light) | | ||
| | ≤ 4 | Bad (red traffic light) | |
There was a problem hiding this comment.
Fixed in 82f7449. Score 0 is now always gray, and red is 1-4 in both tables.
| Fully supported languages are English, Dutch, German, Italian, Russian, French and Spanish. In these languages, all language-specific readability assessments are available. See the [readability support per language](https://github.com/Yoast/wordpress-seo/tree/trunk/packages/yoastseo/README.md#readability-analysis). | ||
|
|
||
| ## Readability analysis: how is the overall score calculated? | ||
| The penalties of all assessments are added up. The sum defines the overall score. To get the overall traffic light, the overall score is divided by 10, and the result is rated with the same scale as the individual scores (see [`getIndicatorForScore.js`](https://github.com/Yoast/wordpress-seo/blob/trunk/packages/js/src/analysis/getIndicatorForScore.js)): |
There was a problem hiding this comment.
Fixed in 7117ed1. Added the "one result or none → gray" case before the penalty table.
| --- | ||
| The **Keyphrase distribution** assessment checks how evenly the words from the keyphrase (and its synonyms) are spread over the text. | ||
|
|
||
| A sentence contains the keyphrase (or a synonym) when it has all of its (content) words, for keyphrases of fewer than 4 words. For keyphrases of 4 words or more, at least half of the words are enough. In Japanese, the limit is 7 characters instead of 4 words. List items are joined into one sentence. |
There was a problem hiding this comment.
Fixed in 591626a. Added that languages without a function word list (Catalan, default) always need all words.
| | **Cornerstone** | ✅ Red instead of orange when not all content words are in the slug. In Shopify, not on cornerstone collection pages. | | ||
| | **Uses highlighting** | ❌ | | ||
| | **Uses morphology (Premium)** | ✅ | | ||
|
|
||
| ## Scoring | ||
|
|
||
| | Traffic light | Score | Criterion | Feedback | | ||
| |---|---|---|---| | ||
| | Red | 3 | There is no keyphrase and/or slug | **Keyphrase in slug**: **Please add both a keyphrase and a slug containing the keyphrase**. | | ||
| | Orange (cornerstone: Red) | 6 (cornerstone: 3) | Not all content words are in the slug | **Keyphrase in slug**: (Part of) your keyphrase does not appear in the slug. **Change that**! | |
There was a problem hiding this comment.
Fixed in 2d1c2c1. Split the orange criterion by keyphrase length and updated the Cornerstone row.
There was a problem hiding this comment.
Looks good! Only had some small suggestions.
Before we decided to move the documentation to the developer portal, we started working on another PR to move the Japanese documentation to the yoastseo package: Yoast/wordpress-seo#23280. I suggest that the current PR is still merged without adding the new Japanese documentation, and the Japanese documentation is added in a separate issue: #440
|
|
||
| Most assessments are part of the [`yoastseo`](https://github.com/Yoast/wordpress-seo/tree/trunk/packages/yoastseo) JavaScript package. Some assessments are only available in [Yoast SEO Premium](https://yoast.com/product/yoast-seo-premium-wordpress/), in [Yoast SEO for Shopify](https://yoast.com/product/yoast-seo-shopify/), or in the add-ons [Yoast Local SEO](https://yoast.com/product/local-seo-wordpress/), [Yoast Video SEO](https://yoast.com/product/video-seo-wordpress/) and [Yoast WooCommerce SEO](https://yoast.com/product/yoast-woocommerce-seo/). | ||
|
|
||
| These pages describe the analysis as of Yoast SEO 28.9. |
There was a problem hiding this comment.
Will this be updated automatically every release? 🙂
There was a problem hiding this comment.
Good point, it would not. I think removing the version there is actually better. I removed the version number. The page now says that the yoastseo code is the source of truth, and asks readers to open an issue if a page is out of date. (0a9b3b9)
| * Overall score<sup>1</sup> = ( sum of individual scores from each assessment ) / ( number of individual scores * 9 ) * 100 | ||
| * Round this number. | ||
| * Example with three individual scores of 3, 6, and 9: | ||
|
|
||
| ( 3 + 6 + 9 ) / ( 3 * 9 ) * 100 = **66.67** → rounded to **67** | ||
|
|
||
| <sup>1</sup> The logic behind the formula is as follows: |
There was a problem hiding this comment.
I think this is more readable if the explanation is simply added after the formula, without the footnote.
| * Overall score<sup>1</sup> = ( sum of individual scores from each assessment ) / ( number of individual scores * 9 ) * 100 | |
| * Round this number. | |
| * Example with three individual scores of 3, 6, and 9: | |
| ( 3 + 6 + 9 ) / ( 3 * 9 ) * 100 = **66.67** → rounded to **67** | |
| <sup>1</sup> The logic behind the formula is as follows: | |
| * Overall score = ( sum of individual scores from each assessment ) / ( number of individual scores * 9 ) * 100 | |
| * Round this number. | |
| * Example with three individual scores of 3, 6, and 9: | |
| ( 3 + 6 + 9 ) / ( 3 * 9 ) * 100 = **66.67** → rounded to **67** | |
| The logic behind the formula is as follows: |
| | 5-7 | OK (orange traffic light) | 2 | 2 | | ||
| | 8-10 | Good (green traffic light) | 0 | 0 | | ||
|
|
||
| Fully supported languages are English, Dutch, German, Italian, Russian, French and Spanish. In these languages, all language-specific readability assessments are available. See the [readability support per language](https://github.com/Yoast/wordpress-seo/tree/trunk/packages/yoastseo/README.md#readability-analysis). |
There was a problem hiding this comment.
Apparently this is based on a hardcoded list of languages that hasn't been updated since 2019 🫣 I can create an issue to update it.
There was a problem hiding this comment.
Oh wow, good find! I think we should fix this as soon as possible 😬
I just found that we also have this issue btw https://github.com/Yoast/lingo-other-tasks/issues/283
There was a problem hiding this comment.
Agree! I had created an issue but I closed it since the one you linked already covers updating the list.
| | English (fully supported) | 1 red, all others green | 3 | 90 | Green | | ||
| | Swedish (not fully supported) | 1 red, all others green | 4 | 60 | Orange | | ||
|
|
||
| ## SEO assessments |
There was a problem hiding this comment.
Just a suggestion, maybe it's also useful to create a 'Alt text assessments' subheading, since there are 5 of them.
There was a problem hiding this comment.
Done in 21d5cbb. Added an "Alt text assessments" subheading with the 5 alt text assessments.
| * [Non-descriptive alt text](seo/non-descriptive-alt-text.md) | ||
| * [Title](seo/title.md) (Premium) | ||
|
|
||
| ### Product page assessments |
There was a problem hiding this comment.
Maybe it's good to add for clarity that these are available in WooCommerce and Shopify? Especially since there is another WooCommerce sub-section further down.
There was a problem hiding this comment.
Done in 31aa7b4. The heading now says "(Yoast WooCommerce SEO and Yoast SEO for Shopify)".
| | [Product identifier](seo/product-identifier.md) | ✅ | ❌ | ❌ | ❌ | | ||
| | [SKU](seo/sku.md) | ✅ | ❌ | ❌ | ❌ | | ||
|
|
||
| Yoast SEO for Shopify also adds [Keyphrase distribution](seo/keyphrase-distribution.md). **Blogs** is the overview page of a blog. |
There was a problem hiding this comment.
See comment above, also "Yoast SEO for Shopify also adds" doesn't make sense.
There was a problem hiding this comment.
Done in 1693ba2. Keyphrase distribution is now a row in the Shopify table, and the "also adds" sentence is gone.
| | [Text presence](readability/text-presence.md) | ✅ | ✅ | ✅ | | ||
| | [Lists](readability/lists.md) | ❌ | ❌ | ✅ | | ||
|
|
||
| Yoast SEO Premium also adds [Word complexity](readability/word-complexity.md) and [Text alignment](readability/text-alignment.md). Text alignment is only available in the block editor, not in the classic editor or Elementor. |
There was a problem hiding this comment.
See comments above - I think it's better to include this in the table.
There was a problem hiding this comment.
Done in 1693ba2. Word complexity and Text alignment are now rows, marked "(Premium)".
| | [Text presence](readability/text-presence.md) | ✅ | ✅ | ✅ | | ||
| | [Lists](readability/lists.md) | ✅ | ❌ | ❌ | | ||
|
|
||
| Yoast SEO for Shopify also adds [Word complexity](readability/word-complexity.md). Blogs (the overview page of a blog) don't have a readability analysis. |
There was a problem hiding this comment.
Add Word complexity to the table
There was a problem hiding this comment.
Done in 1693ba2. Word complexity is now a row in the Shopify table.
|
|
||
| **What counts as a keyphrase match**: all (content) words of the keyphrase or of a synonym, within one sentence of the alt text. With exact matching (keyphrase in double quotes), the exact phrase. | ||
|
|
||
| **Why there is no green traffic light**: using the keyphrase once does not prove that the alt text is good. It can still read unnaturally, which we cannot judge without the context. A missing keyphrase is not good either. So when nothing is flagged, the assessment returns a result without a score and without a text. `Assessor.isValidResult` drops this result, and the assessment is not shown at all. Red criteria are checked first. |
There was a problem hiding this comment.
| **Why there is no green traffic light**: using the keyphrase once does not prove that the alt text is good. It can still read unnaturally, which we cannot judge without the context. A missing keyphrase is not good either. So when nothing is flagged, the assessment returns a result without a score and without a text. `Assessor.isValidResult` drops this result, and the assessment is not shown at all. Red criteria are checked first. | |
| **Why there is no green traffic light**: using the keyphrase once does not prove that the alt text is good. It can still read unnaturally, which we cannot judge without the context. A missing keyphrase is not necessarily good either. So when nothing is flagged, the assessment returns a result without a score and without a text. `Assessor.isValidResult` drops this result, and the assessment is not shown at all. Red criteria are checked first. |
| | **Uses highlighting** | ❌ | | ||
| | **Uses morphology (Premium)** | ❌ | | ||
|
|
||
| **Why there is no green traffic light**: there is no good range for alt text length. When nothing is flagged, the assessment returns a result without a score and without a text. `Assessor.isValidResult` drops this result, and the assessment is not shown at all. |
There was a problem hiding this comment.
| **Why there is no green traffic light**: there is no good range for alt text length. When nothing is flagged, the assessment returns a result without a score and without a text. `Assessor.isValidResult` drops this result, and the assessment is not shown at all. | |
| **Why there is no green traffic light**: Just because the alt text length is within a certain range, doesn't mean that the alt text is an appropriate length for the specific image. When nothing is flagged, the assessment returns a result without a score and without a text. `Assessor.isValidResult` drops this result, and the assessment is not shown at all. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ords Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… bound Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agnieszkaszuba
left a comment
There was a problem hiding this comment.
Looks good! Not merging yet because the Shopify feature/image-alt-text-assessments branch is not merged.

Fixes #226
Summary
This PR adds documentation for all content analysis assessments to developer.yoast.com, under Yoast SEO features → Analysis → Assessments:
yoastseocontains a "snippet editor". The preview and its fields are in the separate@yoast/search-metadata-previewspackage, and the UI now calls them Search appearance and Google preview. The text now says this, and links to the new assessments overview.Inclusive language is not included. It is handled in #435.
The work is in one PR, with one commit per area (SEO, readability, product/taxonomy/collection scoring, add-ons, content types per platform), followed by smaller commits from the review (score explanations, the analysis overview page and its screenshots, and fixes from checking every page against the code). Every commit builds, so the PR can be reviewed commit by commit.
yoastseoto the 28.9 version in Yoast SEO for Google Docs, and the merge of the Shopify branchfeature/image-alt-text-assessments(Shopify's own feedback strings for the alt text assessments on product pages). The pages describe that state (for example, the new alt text assessments, which are not in 28.8).Relevant technical choices
SCORING *.mdfiles in theyoastseopackage and the add-on READMEs stay as they are. Removing the duplicates is done in Yoast/lingo-other-tasks#211.SCORING READABILITY.mddon't matchReadabilityScoreAggregator(fully supported languages: red at 7+, orange at 5-6; other languages: red at 5+, orange at 3-4).yoa.st/33m/33n, not33k/33l.0.7 + keyphrase length / 3), in texts of 100+ words one match is always too few, and the recommended minimum goes up every ~207 words for a 1-word keyphrase, not every 214 words.TitleKeywordAssessmentisKeyphraseInSEOTitleAssessment).SCORING SEO PRODUCT.mdandSCORING SEO COLLECTION.mdsay the Title assessment is available in Shopify, but Shopify doesn't register it.groupId).AnalysisWebWorker.registerAssessment()are added to every assessor, so in Shopify, Lists, Image alt attributes, SKU and Barcode can also run on other content types. This is a bug (Yoast/reserved-tasks#1557), so the docs show the intended behavior.yoastseostrings. Listing all of them on every page would add a lot of detail that changes often, so the overview says this once.Test instructions
This PR can be acceptance tested by following these steps:
yarn build && yarn serve).@yoast/search-metadata-previewsand the Search appearance section. The readability screenshot shows Problems (2) (Paragraph length and Sentence length), and none of the screenshots show Flesch Reading Ease or Premium upsells.Quality assurance
_redirectsfile in the root of the project.Performance, caching, automated tests and testability don't apply: this PR only adds and changes Markdown pages, images and sidebar entries. No filenames were changed.
yarn buildpasses for every commit; I checked all pages and the tabs in Chrome and Firefox with Playwright.