Jānis Skarnelis

Results 157 comments of Jānis Skarnelis

Hi, Unfortunately, it is not so simple. First, your sources are quite outdated. The first one is 5 years old and it states "Some screen readers don’t support the title...

Yes, I have added it in my todo list for v5 (I can't provide any ETA for v5, my goal is to release it this year, but you know, I...

@Malvoz In fact, it's a good idea, thanks for sharing.

And how did you manage to archive that?

Hi, Sorry to disappoint, but it won't be fixed soon (if ever). I've made several attempts to create a hash plugin that would work perfectly in all cases, but it's...

@snitchyuk Unfortunately, you can not know what exactly happens. You can just observe URL hash changes, watch for `onpopstate` events and something like that. And there can be various scenarios....

Hi, Sorry, but I do not understand your comment about captions. In my opinion, it is very simple to use it, example: ``` Fancybox.bind('[data-fancybox="gallery"]', { caption: function (fancybox, carousel, slide)...

Well, it could be as simple as this - ```js Fancybox.bind('[data-fancybox="gallery"]', { caption: function (fancybox, carousel, slide) { const figurecaption = slide.$trigger.querySelector("figurecaption"); return figurecaption ? figurecaption.innerHTML : slide.caption; }, });...

Hi, Which component do you think of?

Hi, I think this was one of the first things I implemented when I started working on v5 :) I really wanted to include :focus-visible in v4, but browser support...