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

Check destination pages for duplicate anchors #99

Open
ascott18 opened this issue Jun 10, 2022 · 0 comments
Open

Check destination pages for duplicate anchors #99

ascott18 opened this issue Jun 10, 2022 · 0 comments

Comments

@ascott18
Copy link

ascott18 commented Jun 10, 2022

It would be nice if this tool could check if the fragment target of a link has multiple matching elements on the destination page. This duplication on the destination is almost always undesirable and unintentional.

e.g.

/page1
<a href="/page2#target /></a>
/page2
<h1 id="target">Target 1</target>
<h1 id="target">Target 2</target>

would generate an error because of multiple id=target in the destination page.

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