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

Add check for backlink presence in footnotes/endnotes #478

Closed
martinpub opened this issue Jun 23, 2021 · 3 comments
Closed

Add check for backlink presence in footnotes/endnotes #478

martinpub opened this issue Jun 23, 2021 · 3 comments
Assignees
Labels
High priority validator-revision EPUB 3 / HTML Validator revision: 2020-1

Comments

@martinpub
Copy link
Collaborator

martinpub commented Jun 23, 2021

Currently, we don't have a rule that checks backlink presence for footnotes/endnotes, so this should be added.

The current text of the Nordic Guidelines is not exact on which of the two methods for backlinks from the DAISY KB should be preferred in 2020-1, so to begin with, we should check both or any method (always including @role="doc-backlink"). Is link integrity check enough, or should we implement a cross-reference check that ensures that the backlink target is equal to the referencing noteref of the present footnote?

@martinpub martinpub added the validator-revision EPUB 3 / HTML Validator revision: 2020-1 label Jun 23, 2021
@martinpub
Copy link
Collaborator Author

Implement a rule including presence of backlink check, and also check target to be the correct footnote ref.

@josteinaj
Copy link
Member

Was this solved by #509?

@martinpub
Copy link
Collaborator Author

Yes @josteinaj, this is solved by #509, I will close this now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High priority validator-revision EPUB 3 / HTML Validator revision: 2020-1
Projects
None yet
Development

No branches or pull requests

3 participants