Make WordPress Core

Opened 15 months ago

Last modified 15 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 15 months ago.
Added css to change the text color from black to white.
texts_over_images_not_readable.jpg (125.4 KB) - added by arafatjamil01 15 months ago.
Black, almost unreadable text before the patch
after_patch.jpg (193.7 KB) - added by arafatjamil01 15 months ago.
White texts after the patch

Download all attachments as: .zip

Change History (5)

@arafatjamil01
15 months ago

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

@arafatjamil01
15 months ago

Black, almost unreadable text before the patch

@arafatjamil01
15 months ago

White texts after the patch

#1 @arafatjamil01
15 months ago

  • Keywords has-patch needs-testing added

#2 @pooja1210
15 months 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!

Note: See TracTickets for help on using tickets.