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

Provenance Vocabulary

The vb:provenance meta tag and data-provenance attribute use the controlled vocabulary defined in data-provenance. Core tokens describe how the content was produced; extension tokens compose with a core value.

TokenTypeDisplay Label
humancoreHuman written
ai-assistedcoreAI-assisted
ai-generatedcoreAI-generated
translatedextensionTranslated
synthesizedextensionSynthesized from sources
migratedextensionMigrated content

Review level is declared separately via data-review; publication state via data-status.

Verification Tiers

The badge data-trust attribute indicates the runtime verification tier. The component sets it based on whether a cryptographic signature is present and whether the rendered content matches it. See data-trust.

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.

Granularity

The author chooses what to expose by varying the content inside <page-info>. A minimal usage with only an author and date renders a compact trust bar; a fully-populated panel surfaces every metadata section. Same component, different depths — matching how photo EXIF data has a small always-present core (date, format) and expands from there.

The auto attribute renders the entire component from the <meta> tags in the document head, useful when the same metadata is needed for SEO and the visible disclosure panel.

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