lightbox2
lightbox2 copied to clipboard
Accessiblity error on arrows
What version of Lightbox2 you are using? Lightbox 2.11.3
Validating my page I have this error on the navigation arrows, due to the empty href: Anchor element found with no link content and no name and/or ID attribute.
Is there a way to customize the html or convert the link into a button? Alternatively you can add the attribute role="button" to the link.
This has been queued up for a future release.
The empty anchors should be replaced by <button>s or communicate their button role and implement the necessary input handling for space and enter presses.