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

Href false positive error in presence of shadow-dom #5

Open
Ocram83 opened this issue Jan 14, 2020 · 1 comment
Open

Href false positive error in presence of shadow-dom #5

Ocram83 opened this issue Jan 14, 2020 · 1 comment

Comments

@Ocram83
Copy link

Ocram83 commented Jan 14, 2020

No description provided.

@Ocram83
Copy link
Author

Ocram83 commented Jan 14, 2020

We have an application written in React and we incorporate Web Components (written with SentcilJS) with shadow dom functionality.

A11ygator acknowledges the following error:

This link points to a named anchor "libreria" within the document, but no anchor exists with that name. WCAG2AA.Principle2.Guideline2_4.2_4_1.G1,G123,G124.NoSuchID <a class="active" href="#anchor1">La mia libreria</a>

The link is declared in a web component, so, inside a shadow dom;
There is an element with id "libreria", but it is declared outside the web component shadow dom.

This appears to be a false positive.

@Ocram83 Ocram83 changed the title Href false positive error in case of Href false positive error in presence shadow-dom Jan 14, 2020
@Ocram83 Ocram83 changed the title Href false positive error in presence shadow-dom Href false positive error in presence of shadow-dom Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant