Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 11 months ago

#55538 closed defect (bug) (invalid)

Image Alt Tags for template images don't work

Reported by: artisanmarketingco's profile artisanmarketingco Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.9.3
Component: Media Keywords:
Focuses: coding-standards Cc:

Description

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.

Change History (3)

#1 in reply to: ↑ description @artisanmarketingco
3 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Replying to 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.

#2 @desrosj
2 years ago

  • Milestone Awaiting Review deleted

This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.


11 months ago

Note: See TracTickets for help on using tickets.