Make WordPress Core

Opened 2 years ago

Last modified 4 months ago

#58015 new defect (bug)

Text over images not readable in Block: Cover Post

Reported by: arafatjamil01's profile arafatjamil01 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.2
Component: General Keywords: has-patch needs-testing
Focuses: css Cc:

Description

Black-colored text over background images is not always readable. I have fixed CSS to make texts readable.

Attachments (3)

58015.patch (335 bytes) - added by arafatjamil01 2 years ago.
Added css to change the text color from black to white.
texts_over_images_not_readable.jpg (125.4 KB) - added by arafatjamil01 2 years ago.
Black, almost unreadable text before the patch
after_patch.jpg (193.7 KB) - added by arafatjamil01 2 years ago.
White texts after the patch

Download all attachments as: .zip

Change History (7)

@arafatjamil01
2 years ago

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

@arafatjamil01
2 years ago

Black, almost unreadable text before the patch

@arafatjamil01
2 years ago

White texts after the patch

#1 @arafatjamil01
2 years ago

  • Keywords has-patch needs-testing added

#2 @pooja1210
2 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.


4 months ago

#4 @bhupendra2909
4 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

  1. ✅ Issue resolved with patch.
Note: See TracTickets for help on using tickets.