Accessibility: links need role="button"
Author: ianthedevCreated Sep 18, 2020Updated Mar 16, 2024
After initializing the plugin, links are still look like links to assistive technologies. Assistive technologies do not know these links will trigger a dialog.
So the links need role="button" and tabindex="0" and the href attributes would need to be removed.
Source: dimsemenov/PhotoSwipe