Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lightbox showing 'Placeholder' instead of image ALT text #2629

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shamimmoeen
Copy link

Description

Fixed an issue where the lightbox was displaying “Placeholder” as the ALT text instead of the actual image ALT text.
Issue: #2628

Screenshots

Before
Screenshot 2025-02-18 at 1 17 40 AM

After
Screenshot 2025-02-18 at 1 18 07 AM

Types of changes

Bug fix (non-breaking change which fixes an issue)

How has this been tested?

  • Inserted the images having alt text into a Gallery block and enabled Lightbox.
  • Opened images in the Lightbox and confirmed that the correct ALT text appeared.
  • Tested with different browsers and themes to ensure consistency.

Acceptance criteria

"Placeholder" should never appear as ALT text.

Checklist:

  • My code is tested
  • My code follows accessibility standards
  • My code has proper inline documentation
  • I've included any necessary tests
  • I've included developer documentation
  • I've added proper labels to this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant