Skip to content

Commit c4c0ea9

Browse files
committed
Twenty Twenty-Five: A11y: Fix color contrast in Written By pattern.
Remove the text color setting on the Written by pattern. The setting was resulting in color contrast that was well below contrast guidelines. Allow the text color to be inherited by default. Props poena, rinkalpagdar, narenin, sabernhardt, noruzzaman, huzaifaalmesbah, joedolson. Fixes #62982. git-svn-id: https://develop.svn.wordpress.org/trunk@61534 602fd350-edb4-49c9-b593-d223f7449a82
1 parent b64efb2 commit c4c0ea9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-content/themes/twentytwentyfive/patterns/hidden-written-by.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
*/
1111

1212
?>
13-
<!-- wp:group {"style":{"spacing":{"blockGap":"0.2em","margin":{"bottom":"var:preset|spacing|60"}}},"textColor":"accent-4","fontSize":"small","layout":{"type":"flex","flexWrap":"wrap"}} -->
14-
<div class="wp-block-group has-accent-4-color has-text-color has-link-color has-small-font-size" style="margin-bottom:var(--wp--preset--spacing--60)">
13+
<!-- wp:group {"style":{"spacing":{"blockGap":"0.2em","margin":{"bottom":"var:preset|spacing|60"}}},"fontSize":"small","layout":{"type":"flex","flexWrap":"wrap"}} -->
14+
<div class="wp-block-group has-small-font-size" style="margin-bottom:var(--wp--preset--spacing--60)">
1515
<!-- wp:paragraph -->
1616
<p><?php esc_html_e( 'Written by ', 'twentytwentyfive' ); ?></p>
1717
<!-- /wp:paragraph -->

0 commit comments

Comments
 (0)