So when the user clicks on an image with a Gallery and decides to view an Image and closes the Gallery the Browser Window brings him to the top of the page.it's not good for accessibility.the focus should move back to it's original position in the page.
Do you have any Idea what could cause and how to controll the focus? I think it has to do with the URL hash added by the Gallery?
what I have checked so far...
Photoswipe docs - changed options >history- false: did not help:(
I have to tried to attach a listener and set focus manually :it did not listen:(
var pswp = new PhotoSwipe(/* ... */);
pswp.listen('close', function() { console.log'check 123';});