Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessiblity error on arrows #712

Open
giuliac89 opened this issue Jun 21, 2021 · 1 comment
Open

Accessiblity error on arrows #712

giuliac89 opened this issue Jun 21, 2021 · 1 comment

Comments

@giuliac89
Copy link

giuliac89 commented Jun 21, 2021

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.

@lokesh
Copy link
Owner

lokesh commented Feb 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants