Skip to content

Use caption property in example app (requires natural-gallery-js#100) #13

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hypnotoad08
Copy link

This pull request updates the example app to use the new caption property introduced in natural-gallery-js#100.

Changes

  • Passes the caption value as part of ModelAttributes in the example app.
  • Updates gallery items in app.component.ts to include both title and caption.
  • Demonstrates how caption improves accessibility via alt and aria-label bindings.

Notes

This PR depends on changes merged in Ecodev/natural-gallery-js#100. Please ensure the latest version of natural-gallery-js is installed to see the effect.

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