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

WordPress Trac noreply at wordpress.org
Sat Jun 13 16:52:41 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-testing needs-dev-   |     Focuses:
  note                                           |  accessibility
-------------------------------------------------+-------------------------

Comment (by knutsp):

 Replying to [comment:13 afercia]:
 > Should the logo `alt` attribute be empty on the front page?
 >
 > I'd tend to think that when it's not within the link the logo is purely
 "decorative" and doesn't need its purpose to be described.

 A logo is about visual identity, and hat is in my interpretation almost
 the opposite of. As I read
 https://www.w3.org/WAI/tutorials/images/decorative/ a logo is not such.
 It's not "Identified and described by surrounding text". The logo is
 usually there instead of the site title, usually a part of the H1 tag
 itself.

 The alt text must be the site title.

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


More information about the wp-trac mailing list