Vanilla Breeze

page-info

Document provenance disclosure panel showing authorship, trust badges, content history, and AI provenance declarations.

Overview

The <page-info> component is a disclosure panel for document provenance. Its trust bar summary shows author, date, and a trust badge at a glance. Clicking expands a detail panel with authorship, history, and AI provenance information.

Without JavaScript, the <details>/<summary> structure provides native expand/collapse behavior. With JS, the component adds relative time rendering and reading time computation.

Auto Mode

When the CMS cannot easily render the full static markup, auto makes the component self-contained. It reads provenance information from <meta> tags in the page <head> and renders the panel automatically.

Required Meta Tags

AI Provenance Vocabulary

The content-provenance meta tag uses a controlled vocabulary, ordered from most human-controlled to least:

ValueDisplay Label
humanHuman written
human-ai-assistedHuman-written, AI-assisted
ai-human-editedAI draft, human edited
ai-human-reviewedAI-generated, human-reviewed
ai-generatedAI-generated
synthesizedSynthesized from sources
translatedTranslated
migratedMigrated content

Trust Tiers

The badge data-trust attribute indicates the verification level. Currently, only declared is active (cryptographic verification is planned).

Tierdata-trustBadge StyleMeaning
0undeclaredNeutralNo provenance metadata
1declaredWarningProvenance claimed, not verified
2domain-anchoredInfoPublic key reachable at author's domain
3verifiedSuccessDOM content matches cryptographic signature
failedErrorSignature present but content doesn't match

Attributes

AttributeValuesDefaultDescription
auto Boolean Render from <meta> tags instead of light DOM
og-preview Boolean Show Open Graph social preview card (planned)

Events

EventDetailDescription
page-info:verified { status: string, tier: number } Fired when trust assessment completes. Bubbles.

Relationship to <page-meta>

<page-meta> is a simpler, composable sub-pattern focused on metadata display and JSON-LD. <page-info> is the full disclosure panel with trust bar, author details, and provenance sections. They can be used independently or together.

Accessibility

  • <details>/<summary> provides native expand/collapse without JavaScript
  • Trust badges include aria-label with the full provenance description
  • Separator dots use aria-hidden="true"
  • Section headings provide landmarks within the expanded panel
  • Relative time text replaces the <time> content but the datetime attribute preserves the machine-readable date