Fix Alt-Text generation on decorative images resulting in false error message in Media Lib#559
Conversation
- Add image identified as decorative text for better UX in media lib.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #559 +/- ##
==========================================
Coverage 71.21% 71.21%
Complexity 1151 1151
==========================================
Files 67 67
Lines 5565 5565
==========================================
Hits 3963 3963
Misses 1602 1602
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @antoniomilev. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
…WordPress#559) Fixed - False error for alt text generation on decorative images in media library. Unlinked contributors: antoniomilev. Co-authored-by: Intenzi <intenzi@git.wordpress.org> Co-authored-by: dkotter <dkotter@git.wordpress.org>

What?
Closes #557
This PR resolves the false image alt-text generation error observed when an image is decorative.
Why?
It improves the UX flow and ensures the ambiguous error is fixed.
How?
generateAltText()method inmedia.tsandbulk.tsof alt-text-generation experiment.Use of AI Tools
Testing Instructions
Screenshots or screencast
Changelog Entry