-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
How can I change the language for "aria-label"?
When I use:
lightGallery(document.getElementById('gallery-captions-demo'), {
controls: false,
prevHtml: "<button type='button' id='lg-prev' aria-label=' prev lang ' class='lg-prev lg-icon'></button>",
nextHtml: "<button type='button' id='lg-next' aria-label=' next lang ' class='lg-next lg-icon'></button>",
});
nothing is displayed.... and if i use controls: true, The buttons were displayed twice.
It would be nice to:
lightGallery(document.getElementById('gallery-captions-demo'), {
previousSlide: "prev lang",
nextSlide: "next lang",
closeGallery: "close lang",
.... etc.
});
I'm grateful for any tips.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels