You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What information was incorrect, unhelpful, or incomplete?
A page can have several anchors, which are used both to deep-link between content, and to link from e.g. BCD data.
However, it is not straight-forward to validate that an anchor exists on a page, without crawling the page.
(Does rari validate anchors on internal links?)
What did you expect to see?
It would be nice if the index.json would include a list of all anchors in the content.
This would make it easier:
to validate mdn_urls in BCD with hashes,
to map en-US anchors to translated anchors (*).
(*) Note that BCD links with fragments uses en-US hashes, but since the mdn_url doesn't contain a locale, users might get redirected to another locale where the anchor doesn't exist.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered:
caugner
added
the
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
label
Jan 30, 2025
fiji-flo
added
for later
Not planned at this time.
and removed
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
labels
Feb 17, 2025
What information was incorrect, unhelpful, or incomplete?
A page can have several anchors, which are used both to deep-link between content, and to link from e.g. BCD data.
However, it is not straight-forward to validate that an anchor exists on a page, without crawling the page.
(Does rari validate anchors on internal links?)
What did you expect to see?
It would be nice if the index.json would include a list of all anchors in the content.
This would make it easier:
mdn_url
s in BCD with hashes,en-US
anchors to translated anchors (*).(*) Note that BCD links with fragments uses en-US hashes, but since the
mdn_url
doesn't contain a locale, users might get redirected to another locale where the anchor doesn't exist.Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: