[wp-trac] [WordPress Trac] #55538: Image Alt Tags for template images don't work

WordPress Trac noreply at wordpress.org
Wed Apr 6 15:14:49 UTC 2022

#55538: Image Alt Tags for template images don't work
 Reporter:  artisanmarketingco  |       Owner:  (none)
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Media               |     Version:  5.9.3
 Severity:  normal              |  Resolution:  invalid
 Keywords:                      |     Focuses:  coding-standards
Changes (by artisanmarketingco):

 * status:  new => closed
 * resolution:   => invalid


 Replying to [ticket:55538 artisanmarketingco]:
 > If I add image alt tags in the media library and then use the images in
 templates, the alt tag data is missing from live page source code.
 > It works fine on images in pages and posts - but not in templates.
 > Hits my accessibility.

 UPDATE - it's not the issue. I have discovered that it only happens with
 WebP images.

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

More information about the wp-trac mailing list