[wp-trac] [WordPress Trac] #63447: Low Contrast Ratio in Footer Separator of “WordPress Events and News” Widget

WordPress Trac noreply at wordpress.org
Tue Aug 5 14:08:52 UTC 2025


#63447: Low Contrast Ratio in Footer Separator of “WordPress Events and News”
Widget
----------------------------+----------------------------
 Reporter:  ankitkumarshah  |       Owner:  joedolson
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  6.9
Component:  Widgets         |     Version:  4.8
 Severity:  minor           |  Resolution:
 Keywords:  has-patch       |     Focuses:  accessibility
----------------------------+----------------------------

Comment (by sabernhardt):

 Using a pseudo-element can make the Events widget pass automated contrast
 testing and remove the `|` characters. However, it is quite elaborate just
 for one dashboard widget.

 I originally created a proof of concept with a `.subsubsub` list like PR
 8929, but I switched back to the paragraph. I'm not sure I like how that
 would center links on smaller screens, with a larger font size
 ([https://github.com/WordPress/wordpress-
 develop/blob/c726220a21d13fdb5409372b652c9460c59ce1db/src/wp-
 admin/css/common.css#L4026-L4027 see common.css]). On the other hand, the
 pseudo-element could be more valuable with `.subsubsub` lists (in the
 Activity widget footer and at the top of list table screens) than with the
 Events widget.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63447#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list