Claim badge

The four-label legend (direct, framework, inferred, speculative). The page-level pill is retired: labels now sit on individual assertions.

≈ 2 min read 313 words Updated 2026-11-21

On this page

Retired as a page header, 2026-11-07. A page argues many things at once, so one label per page mislabelled most of them. Labels now attach to individual assertions — see Inline claim markers. The page-level claim_type stays in frontmatter as metadata (the ai.claim_type meta tag, WebMCP, the graph, the datasets).

What remains of this component is the complete legend — the four labels Direct, Framework, Inferred and Speculative with their definitions — used on the home page and the Method page (claim_badge::render(legend=true)). The disclosure form described below is no longer called by any template.

Source: SCSS · macro

Interaction#

The component uses native details and summary elements. Click, tap, Enter, or Space toggles the explanation in the document flow. It works without JavaScript and does not place a tooltip over nearby text. The summary has a visible focus outline and a minimum 44px height. Its accessible name includes the localized “Reading this as” label and type.

The previous four-letter stack and its hover/tap state machine were retired in October 2026. The claim_type frontmatter values and the definitions were preserved. The homepage retains a static four-row legend, using the same labels and explanations as individual pages.

Anatomy#

ElementPurpose
.claim-badges--disclosureNative details container for one page classification.
.claim-badges__summaryFull type label and information icon.
.claim-badge--{type}Existing palette association: cyan, mauve, yellow, or lavender.
.claim-badges__explanationDefinition and Method link, revealed inline.
.claim-badges--legendStatic, complete key used on the homepage.

Missing or unknown claim types render no classification; the UI never infers one from the page topic.

Edit this page on GitHub