-
Notifications
You must be signed in to change notification settings - Fork 903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improves the translatability of feedback for the paragraph and sentence length assessments #21824
Improves the translatability of feedback for the paragraph and sentence length assessments #21824
Conversation
…ce length assessments
Pull Request Test Coverage Report for Build 1bd0d2de5593434ecdd16d9b461bb50527d1122fWarning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
…latability-sentence-and-paragraph-length
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat changes 🙌🏽 I have minor suggestions for better readability for us developers. See my comments
packages/yoastseo/src/scoring/assessments/readability/ParagraphTooLongAssessment.js
Outdated
Show resolved
Hide resolved
packages/yoastseo/src/scoring/assessments/readability/ParagraphTooLongAssessment.js
Show resolved
Hide resolved
packages/yoastseo/src/scoring/assessments/readability/SentenceLengthInTextAssessment.js
Show resolved
Hide resolved
…latability-sentence-and-paragraph-length
Acceptance test: Works as advertised ✨
|
Context
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
Test instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
In English
Properly sized paragraphs play an important role in making your text readable and scannable. So let’s start with the readability aspect: big walls of text are not very readable and tend to scare off your readers. Imagine this entire article being just one big paragraph, you’d probably have left the page before even reading the introduction. Paragraphs help break down your text into bite-size and easy-to-understand chunks, which puts your readers at ease: every time you end a paragraph, you give your readers the opportunity to relax and think about what they’ve just read. This really helps them make sense of the entire text. Paragraphs also help readers to scan your text more easily. When people end up on a page, they rarely just start reading the article from start to finish, they first want to see what they can expect before spending a lot of time reading the entire text. People tend to scan headings and the first sentences of every paragraph. By breaking up your text into paragraphs that reflect the topics you’re addressing, people will be able to get a good grasp of what your article is about in no time.
Paragraph length: 1 of the paragraphs contains more than the recommended maximum number of words (150). Shorten your paragraphs!
Sentence length: 44.4% of the sentences contain more than 20 words, which is more than the recommended maximum of 25%. Try to shorten the sentences.
(your percentage may vary if you add more text).In Japanese
儀れ間務まぶの性19保天ヨソ海無務3視りじげ無場ケトナオ初裁景テイ免37法おょ実身ゃばひ禁著な来栖下権感のレけじ。砲ひめ向著フミワ帽減メチ区科すへゆひ副痕採ぶ戸郷なフこゃ自6際でに無解ケニウツ市送カ者以ヘマ知苦いたフを隆戒車ニヲメシ楽丘甘礼かて。9申販じ辞図づたクる本速平ラぶト園約ミクメ転界ねン開神ニツヘ次文ク済臣セラ員資モエ説捨ぴ語考ね別防宝よう。儀れ間務まぶの性19保天ヨソ海無務3視りじげ無場ケトナオ初裁景テイ免37法おょ実身ゃばひ禁著な来栖下権感のレけじ。砲ひめ向著フミワ帽減メチ区科すへ。ゆひ副痕採ぶ戸郷なフこゃ自6際でに無解ケニウツ市送カ者以ヘマ知苦いたフを隆戒車ニヲメシ楽丘甘礼かて。9申販じ辞図づたクる本速平ラぶト。園約ミクメ転界ねン開神ニツヘ次文ク済臣セラ員資モエ説捨ぴ語考ね別防宝よう。
Paragraph length: 1 of the paragraphs contains more than the recommended maximum number of characters (300). Shorten your paragraphs!
Sentence length: 62.5% of the sentences contain more than 40 characters, which is more than the recommended maximum of 25%. Try to shorten the sentences.
(your percentage may vary).Shopify
Relevant test scenarios
Test instructions for QA when the code is in the RC
QA can test this PR by following these steps:
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
UI changes
Other environments
[shopify-seo]
, added test instructions for Shopify and attached theShopify
label to this PR.Documentation
Quality assurance
Innovation
innovation
label.Fixes #21749