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

WordPress Trac noreply at wordpress.org
Tue Jun 17 08:08:53 UTC 2025


#63447: Low Contrast Ratio in Footer Separator of “WordPress Events and News”
Widget
-------------------------------------------------+-------------------------
 Reporter:  ankitkumarshah                       |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Widgets                              |     Version:
 Severity:  minor                                |  Resolution:
 Keywords:  has-patch has-test-info 2nd-opinion  |     Focuses:
                                                 |  accessibility
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  has-patch has-test-info => has-patch has-test-info 2nd-opinion
 * severity:  normal => minor


Comment:

 [https://github.com/WordPress/wordpress-develop/pull/8808 PR 8808] applies
 `#73777D` in both the Events and Activity widgets.
 - The darker color has just enough contrast to avoid errors in Lighthouse
 or WAVE.
 - The color choice is not in the [https://codepen.io/ryelle/full/WNGVEjw
 current palette] (and hex values should be lowercase).

 [https://github.com/WordPress/wordpress-develop/pull/8929 PR 8929] changes
 the Events widget footer markup to be more like the footer links in the
 Activity widget.
 - This passes the Lighthouse tool without changing the color, but WAVE
 would still report the same colors as errors.
 - The patch currently adds padding around each of the links and increases
 their `line-height`.

 The automated test tool errors do not exactly fit the use case. I doubt
 whether the separators should even qualify for the
 [https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html non-
 text minimum] ratio of 3:1 (especially because the links have space
 between them and the separators).

 In addition, the dashboard might be replaced soon anyway.

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


More information about the wp-trac mailing list