Hi @rikwilliams,
Thanks for posting here.
That’s correct. Right now, it doesn’t adopt that.
But I believe this can be a great addition to the block.
We will try to add it in the next release. If not, then definitely in the next one after that.
Thanks for the idea.
Regards.
Thread Starter
Rik
(@rikwilliams)
Great, thanks. It’d be really useful for me and perhaps others too.
Rik
Hi @rikwilliams,
We have released an update today. This update includes the functionality you suggested.
Image captions are now taken by default as the captions for the slider.
Please update the plugin to the latest version.
Regards.
Thread Starter
Rik
(@rikwilliams)
Hi Imtiaz,
Thanks for letting me know, and for refining the functionality (and so quickly)! I’ve demo’d and have the following feedback (based on WordPress TwentyTwenty theme).
- using
figcaption would improve semantics and also integrate with WordPress TwentyTwenty’s CSS for image captions / figcaption. I can adopt the class into my child theme, but this might be a more robust solution?
- the ‘page dots’ are overlaid on the caption content, at least in my theme
Hope that this is useful feedback for you. Thanks again for the update/enhancement.
Best,
Rik
-
This reply was modified 6 years ago by
Rik. Reason: typo
Hi @rikwilliams,
Thank you very much for the suggestion and the reporting the issue.
We will work on it and hopefully will be able to fix these in the next release.
Please let us know if you have any other suggestions for us or if you come across any other issues.
Regards.
My feedback is related to the image slider block:
Although I have filled in the captions for all slider images, they are empty and are only saved for the last entry. The captions are still displayed and visible in the gutenberg editor but are not adopted in the frontend after saving.
<figcaption class=”ub_image_slider_image_caption”> </figcaption>
Hi @lasislas! Thank you for reporting your issue with the image slider block. We were able to reproduce it on our end and find its cause. The fix for it will be available in the next update.
@alexius08 Hey that’s great news, thank you.
one more idea for the next update:
Maybe you can make your slider more seo friendly by showing the image alt tags for the slider images (in the html source code).
<figure> and <figcaption> elements are good but doens’t fully replace the need of alt attributes (and also to aid accessibility for non-visual readers)