Vanilla Breeze

data-provenance

Declare how content was made — human, AI-assisted, AI-generated, translated, synthesized, or migrated. CSS-only indicators for authorship provenance.

Overview

The data-provenance attribute declares how content was produced. It answers how was this made? — not who wrote this edit? (that's data-author) and not is this rendering verified? (that's data-trust, scoped to <page-info> badges).

Trust levels can be applied at the page level (on <html> or <article>) or scoped to individual sections. Extension tokens compose with a core value via space-separation.

Core Tokens

Pick exactly one core token as the primary authorship declaration.

Token Meaning Visual Treatment
human Written entirely by a person No indicator (the default assumption)
ai-assisted Human wrote with AI tooling Subtle border accent
ai-generated Primarily AI-generated content Background tint + border accent

Extension Tokens

Compose one or more extension tokens alongside a core value with space-separation. Useful for content that has been translated, synthesized from sources, or migrated from another system.

Token Meaning
translated Derived from another language
synthesized Aggregated or summarized from cited sources
migrated Moved from another system; may have been reformatted

Related attributes

The three attributes below are orthogonal — each answers a separate question. Use them together as needed.

Attribute Answers Vocabulary
data-provenance How was this content made? human, ai-assisted, ai-generated, translated, synthesized, migrated
data-review What review did it receive? unreviewed, fact-checked, editor-reviewed
data-status What's its publication state? draft, published, archived

Labeled Badges

Add the labeled class to show a visible text badge via ::before. Without this class, provenance indicators are purely structural.

With Change Tracking

Provenance and <ins>/<del> change tracking are complementary. data-provenance declares the authorship model for the whole element; inline edits show specific changes, with data-author identifying who made each edit.

CSS Tokens

Provenance and review colors are exposed as custom properties that themes can override.

JavaScript API

No JavaScript is needed. The attribute is queryable via standard DOM methods.