Opened 3 years ago
Last modified 7 weeks ago
#58015 new defect (bug)
Text over images not readable in Block: Cover Post
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 6.2 |
| Component: | General | Keywords: | has-patch has-screenshots reporter-feedback |
| Focuses: | css | Cc: |
Description
Black-colored text over background images is not always readable. I have fixed CSS to make texts readable.
Attachments (3)
Change History (8)
#2
@
3 years ago
Hi @arafatjamil01,
Thanks for the patch!
I have cross verified the issue with WordPress 6.1 and also the latest version WordPress 6.2 and found that by default the Text color over the background image on the Cover Block is White. Uploading any kind of media to the cover block, by default the text would appear white.
I have cross verified it with WordPress default themes like Twenty Twenty Three, Twenty Twenty Two, Twenty Twelve etc.,
Attaching visual for reference: https://prnt.sc/GD-hxvI0sUq3
Thanks!
This ticket was mentioned in Slack in #core-test by bhupendra2909. View the logs.
14 months ago
#4
@
14 months ago
Test Report
Description
I have cross verified the WordPress 6.7.1 and add patch. found that by default the Text color over the background image on the Cover Block is White. patch is working.
Patch tested: REPLACE_WITH_PATCH_URL
Environment
- WordPress: 6.7.1
- PHP: 8.1.29
- Server: nginx/1.16.0
- Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.29)
- Browser: Edge 131.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-Two 1.9
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.0
Actual Results
- ✅ Issue resolved with patch.
#5
@
7 weeks ago
- Keywords has-screenshots reporter-feedback added; needs-testing removed
Reproduction Report
Description
This report validates whether the issue can be reproduced.
Environment
- WordPress: 7.0-alpha-61215-src
- PHP: 8.2.29
- Server: nginx/1.29.4
- Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
- Browser: Chrome 143.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Three 1.6
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.1
Steps to Reproduce
- Create a new post
- Add a cover block
- Upload a dark background
- Type random text
- Add another cover block
- Upload a light background
- Type random text
Actual Results
- ❌ Error condition does not occur. Text color is automatically adjusted by the block without the need for a patch.
- By default, cover with the dark background displayed with white text. Similarly, light background cover block displayed with black text.


Added css to change the text color from black to white.