ITADN

Request: Customizable ARIA labels

#566OpenSanderfrank 创建于 2025-06-19
S
Sanderfrankcommented
**Please describe the feature you want to be implemented.** It would be great to have an option to localize the ARIA labels for the buttons '_close_', '_previous_' and '_next_'. **Explain why the feature is useful** In order to make glightbox usable for non-English pages that need to meet the WCAG standards. At the moment we have to overwrite the full template `lightboxHTML` for changing just the labels since they are hard coded on English. The SVG icons are already customizable - so you could use the same mechanics for the labels. **Have you seen it somewhere else?** Sure, in many libraries. E.g. Tobii ( https://github.com/midzer/tobii?tab=readme-ov-file#options ) Btw: I'm glad that glightbox already cares for accessibility. Me and probably many handicapped people from around the world would appreciate this little change :) Cheers!
0 条评论