-
Notifications
You must be signed in to change notification settings - Fork 897
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
Allows highlighting in captions #19519
Allows highlighting in captions #19519
Conversation
…ghting-feature-does-not-highlight-text-in-image-captions
Update: the PR for Gutenberg has been approved 🎉 Let's discuss next week with QA whether we want to acceptance test this PR already, or wait until the 15.0 Gutenberg release. |
As discussed with QA, it's OK to start testing this PR. The test instructions have been adapted to cover additional cases. Also, after feedback on the Gutenberg PR, I've added support for all blocks that allow captions, viz. audio, embed, gallery, image, table, and video blocks. |
Acceptance test: happy to merge.
|
Context
trunk
version of Gutenberg (for which this PR does work and makes highlighting of captions available).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:
NOTE: The instructions have been adapted from this PR.
NOTE: While testing, also install and activate all the plugins in this list. This is to make sure that the fix still works in combination with those plugins we support.
Preliminaries
trunk
branch, symlinking it to your Local environment, and then building it.SEO analysis
Keyphrase density
Keyphrase distribution (a premium assessment)
composer require yoast/wordpress-seo:dev-19479-block-editor-the-highlighting-feature-does-not-highlight-text-in-image-captions@dev
before building itReadability analysis
Smoke test whether the highlighting feature works, with both an assessment that highlights individual words (e.g., the word complexity assessment) and one that highlights sentences (e.g., the sentence length assessment).
Word complexity assessment (a premium assessment)
composer require yoast/wordpress-seo:dev-19479-block-editor-the-highlighting-feature-does-not-highlight-text-in-image-captions@dev
before building itSentence length assessment
Inclusive language analysis
Smoke test whether the highlighting feature works for the inclusive language analysis.
Upgrade routine
trunk
, as before)Repeat the above test instructions for audio, embed, gallery, table, and video captions! It's easiest to adapt the existing post you have used in the tests above.
Also, do a smoke test on the highlighting functionality for the block editor and the Gutenberg editor, as stated above in the PR's context. This PR should not break any existing functionality.
Also do a smoke test on the highlighting functionality for the Classic editor for image captions. While this code does not touch the highlighting functionality for the Classic editor, it's better to be safe than sorry! 😄
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 and noted the work hours.Fixes #19479