[wp-trac] [WordPress Trac] #37011: Don’t link custom logo if it’s displayed on the front page

WordPress Trac noreply at wordpress.org
Mon Jun 15 21:24:35 UTC 2020


#37011: Don’t link custom logo if it’s displayed on the front page
-------------------------------------------------+-------------------------
 Reporter:  FlorianBrinkmann                     |       Owner:  joedolson
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.5
Component:  Themes                               |     Version:  4.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-dev-note 2nd-        |     Focuses:
  opinion                                        |  accessibility
-------------------------------------------------+-------------------------

Comment (by sabernhardt):

 If you edit the alt text for the cropped image within the media library,
 that custom text would replace the site name in the alt attribute. But
 leaving it blank currently would not replace default text with an empty
 alt.

 It's also worth noting that #36640 (in the 5.5 milestone) proposes a
 filter on the `get_custom_logo` image attributes. So that could override
 either no alt or the default alt text.

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


More information about the wp-trac mailing list