[wp-trac] [WordPress Trac] #36450: alt attribute missing from site icon preview

WordPress Trac noreply at wordpress.org
Fri Apr 8 15:40:53 UTC 2016


#36450: alt attribute missing from site icon preview
-------------------------------------+-------------------------------------
 Reporter:  TacoVerdo                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Customize                |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch good-first-  |     Focuses:  accessibility,
  bug                                |  javascript
-------------------------------------+-------------------------------------
Changes (by swissspidy):

 * keywords:   => needs-patch good-first-bug


Comment:

 In `wp-includes/media-template.php`, the `alt` attribute is actually empty
 in the `tmpl-crop-content` template:

 {{{#!html
 <img src="images/browser.png" class="browser-preview" width="182"
 height="" alt="" />
 }}}

 No idea where the other variables like `{{ data.url }}` come from at first
 glance, but it's a good starting point.

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


More information about the wp-trac mailing list