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

WordPress Trac noreply at wordpress.org
Fri Jun 20 18:04:58 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:  4.8
 Severity:  minor                  |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  accessibility
-----------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:  has-patch has-test-info 2nd-opinion => has-patch 2nd-opinion
 * version:   => 4.8


Comment:

 > While the new patch passed on WCAG AA, it **failed** on WCAG AAA in
 normal text, which this issue may fall under that.

 No. The footer **links** only have a contrast ratio of 5.17:1 in the
 Events and Activity widgets, and separators should not follow a higher
 standard than words.

 I questioned whether the line characters should even meet the 3:1 non-text
 minimum. They are not readable text, and they do not define the link
 boundary.

 For another method, replacing the `|` character with a pseudo-element that
 has a light border could prevent these automated testing errors without
 changing the color.

 ----

 History:
 - #25824 added a [https://github.com/davemart-
 in/WordPress-3.8-Dashboard/commit/9acc319d029f5492f91545db091f35aae20056da
 #diff-
 1da0c6cb55702f27dab98289a73971001395ba95e6bb54f97298daf836f9a527R40-R42
 light color in the Activity widget].
 - #40702 implemented a [https://github.com/coreymckrill/nearby-wordpress-
 events/commit/36b72562c60e0506d65c03e9016f121d86ea623b#diff-
 0a8920a158dd3ffe98d205bc964eabfd5710e198d23c9aae56fe3e3343b9677eR102-R109
 similar style in the Events widget].

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


More information about the wp-trac mailing list