VVolkov833 / fcp-lightbox

The plugin replaces the links to images with a popup. It also has arrow and keyboard navigation, when a gallery is detected.
GNU General Public License v3.0
2 stars 0 forks source link

Feature Request: Ability to display captions #1

Open tlindgren opened 2 years ago

tlindgren commented 2 years ago

Thanks for creating this plugin! I've been have a hard time finding a Wordpress plugin that is lightweight, has full keyboard navigation (particular one that returns tab focus properly), and works on various gallery plugins. The only thing that's missing for me is the ability to display captions in the lightbox. Would this be difficult to add? I'm happy to help with css styling but my js skills are fairly basic.

Thanks for considering,

Tim

VVolkov833 commented 2 years ago

Hey Tim :)

Thank you for the feedback. I'll add the captions to the future features list. About returning tab focus - it just stays there till you start using mouse on the lightbox. But I'm curious, why is it important? Are you browsing with a keyboard, or using a screenreader?

tlindgren commented 2 years ago

Thanks for putting this feature on the list.

As for the tab focus, I work in higher education so anything I build needs to meet accessibility requirements, in this case for people who need to navigate entirely by keyboard/screenreader. Here's are some resources I found as I've been trying to figure out what makes lightboxes as accessible as possible:

I realize this adds another set of features to the list, but it's one of the elements I'm using as evaluate different options. Happy to help with testing if you're interested in working on these aspects more.

Thanks again for you work on this and making it available.

VVolkov833 commented 2 years ago

Thank you for the links :)