[wp-trac] [WordPress Trac] #62982: Twenty Twenty-Five: The Written by pattern on single posts has too low color contrast in some variations
WordPress Trac
noreply at wordpress.org
Tue Jan 20 18:29:32 UTC 2026
#62982: Twenty Twenty-Five: The Written by pattern on single posts has too low
color contrast in some variations
------------------------------+----------------------------
Reporter: poena | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: accessibility
------------------------------+----------------------------
Changes (by sabernhardt):
* type: defect (bug) => enhancement
Comment:
I'm switching to enhancement because
[https://github.com/WordPress/twentytwentyfive/pull/103 PR 103] purposely
used a lighter color for the post meta text row. The text is also smaller
and inherits the Light 300 weight, so the Default gray is not easy for me
to read (even though the contrast ratio is AA-compliant at 5.57:1).
Accent 4 can be a problem if the chosen //section// style variation (e.g.,
Style 1, Style 2) is significantly different than the site's style
variation (e.g., Evening, Dusk). The contrast is not a problem when the
section styles are not used, and even the Style 2 and Style 3 options can
have enough contrast in Midnight.
My testing process below confirmed that updating the template should not
affect existing sites, leaving the original design for them.
1. Create a new site with WordPress 6.9, which already has Twenty Twenty-
Five activated.
2. Go to the Editor and select the Single Posts template.
3. Find the Group block for the main post content. (I clicked on the
"Written by" text, and then selected the second Group block in the
breadcrumbs "Template > Group > Group > Row > Paragraph".)
4. View the block's Styles tab in the sidebar, and select Style 4 (or
Style 5).
5. Save.
6. Create a theme update.
- Apply the patch to another site, ideally a local installation.
- Change the theme version number in `readme.txt` and `style.css`.
- Compress the theme to a zip package. (I saved the package as
`twentytwentyfive.1.4.1.zip`.)
7. Go back to the new site.
8. Go to Appearance > Themes, and click Add Theme.
9. Click Upload Theme, select the theme zip package, and click Install
Now.
10. Click the "Replace installed with uploaded" button.
11. Go to the Editor and select the Single Posts template again, and check
whether the Row block still has Accent 4 as the text color.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62982#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list