lightbox2 icon indicating copy to clipboard operation
lightbox2 copied to clipboard

Accessiblity error on arrows

Open giuliac89 opened this issue 4 years ago • 1 comments

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.

giuliac89 avatar Jun 21 '21 12:06 giuliac89

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.

lokesh avatar Feb 17 '23 20:02 lokesh