Make WordPress Core

Opened 2 months ago

Closed 6 weeks ago

#48659 closed defect (bug) (invalid)

Gallery Block Does Not Include Alt Tag Content

Reported by: jackstouffer Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: accessibility Cc:
PR Number:


Observed Behavior:

When creating a image gallery with the built-in block and using images from the media library, the gallery does not include the alt tag content that's set from the media library in the actual image tag on the page.

Expected Behavior:

Each image tag in the gallery should include the alt tag contents.

Change History (5)

#1 @audrasjb
2 months ago

  • Component changed from General to Editor
  • Focuses accessibility added

#2 @audrasjb
2 months ago

  • Version 5.3 deleted

#3 @afercia
2 months ago

  • Keywords reporter-feedback added

@jackstouffer thanks for your report and welcome to Trac! I wasn't able to reproduce: for me, the gallery images have the alt attribute populated with the value from the Media Library.

When you have a chance, please describe the steps you followed to reproduce the issue.

Does it still happen with all plugins disabled and a default theme (for example Twenty Twenty or Twenty Nineteen) activated?

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

6 weeks ago

#5 @afercia
6 weeks ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Tested again during today's accessibility bug-scrub and couldn't reproduce. Closing this ticket. Can always be reopened if something was missed.

Note: See TracTickets for help on using tickets.