WordPress.org

Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#48659 new defect (bug)

Gallery Block Does Not Include Alt Tag Content

Reported by: jackstouffer Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords: reporter-feedback
Focuses: accessibility Cc:
PR Number:

Description

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 (3)

#1 @audrasjb
3 weeks ago

  • Component changed from General to Editor
  • Focuses accessibility added

#2 @audrasjb
3 weeks ago

  • Version 5.3 deleted

#3 @afercia
3 weeks 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?

Note: See TracTickets for help on using tickets.