Colquhoun.AI
← All guides

Research Guides

Verify Which Passage a Text Fragment Highlights

· Colquhoun.shop editorial

A link that highlights a phrase can be a handy shortcut to evidence, but the phrase can move, repeat, or disappear. Before sharing it, test whether it highlights the right occurrence and leave readers a way to find the evidence if the highlight fails.

A heading link and a text link are not the same

A heading link usually points to an element ID chosen by the publisher. A text fragment points to words inside a page. The WICG URL Fragment Text Directives draft documents the #:~:text= syntax and optional surrounding context that can disambiguate repeated text. The draft explains how matching works; it does not promise the behavior will be identical across browsers or future revisions of a page.

Audit the phrase, not just the URL

  1. Pick words that identify the evidence. Prefer a short public phrase near the claim, not a generic label such as “updated monthly.” Leave personal data and private excerpts out of the link itself; the matching text is visible in the URL you share.
  2. Check the phrase in context. Open the link in a fresh tab on a browser that supports text fragments. Read the heading and neighboring sentence after it lands. If a repeated phrase points to the wrong section, select a more distinctive passage or add context before sharing.
  3. Try the plain URL too. Confirm that a reader can reach the page without the fragment. Include its title, heading and, where useful, the publication date in your citation. Use a stable heading link when the publisher provides one and it locates the right evidence.
  4. Recheck after edits. If the phrase no longer appears, verify the claim against the new version before changing the link. Do not silently point to a different passage just because it contains similar words.

Worked example: two uses of the same phrase

In a fictional transit report, “updated monthly” occurs under both “Bus ridership” and “Ferry schedules.” A link to just those two words can highlight the bus paragraph even if your citation describes ferries. Select an unambiguous phrase, such as “Ferry timetables are updated monthly,” and check that the visible section is “Ferry schedules.” Keep that heading alongside the plain report URL so a reader can recover if the wording changes.

Record: page title | claim | chosen phrase | expected heading | observed highlight and heading | plain URL | check date. If the highlight cannot be verified, mark it as unverified and share the plain citation instead. This worksheet does not predict indexing or freeze the cited text in time.

For ordinary heading IDs, see the separate guide to checking section links.

This guide describes the built-in Web Reader and Keyword Density behavior verified for this publication. Available data depends on the page response; these tools do not measure visits or search rankings.