[wp-trac] [WordPress Trac] #15926: Add alt attribute support for Custom Header functionality

WordPress Trac noreply at wordpress.org
Mon Oct 6 12:20:06 UTC 2014


#15926: Add alt attribute support for Custom Header functionality
-------------------------------------------------+-------------------------
 Reporter:  jane                                 |       Owner:
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.1
Component:  Customize                            |     Version:  3.0
 Severity:  minor                                |  Resolution:
 Keywords:  gci has-patch ux-feedback needs-     |     Focuses:
  testing                                        |  accessibility
-------------------------------------------------+-------------------------

Comment (by kitchin):

 I think you want
 {{{
 alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"
 }}}
 based on what's already in twentyten/header.php and
 twentytwelve/header.php for `title` attributes.

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


More information about the wp-trac mailing list