Multi-Screen HTML Prototypes
Any standalone HTML file works immediately as a single screen. To structure a multi-screen flow inside one HTML document, annotate each root screen with data-folio-screen and aria-label:
<section data-folio-screen="welcome" aria-label="Welcome">
<h1 data-folio-id="hero-title">Welcome to Folio</h1>
<a href="#pricing">Next</a>
</section>
<section data-folio-screen="pricing" aria-label="Pricing">
<h2 data-folio-id="plan-heading">Choose a plan</h2>
<a href="#enterprise">Need SSO?</a>
</section>
<section data-folio-screen="enterprise" data-folio-branch-of="pricing" aria-label="Enterprise branch">
<h2>Contact sales</h2>
</section>- Links targeting
#<screen-id>automatically navigate between screens. - Add
data-folio-branch-of="<parent-id>"to render a side branch in the All screens overview flow diagram. - Give key elements a stable
data-folio-idso pins, copy edits, and style tweaks stay attached across rounds.
Annotation Tools
| Tool | Shortcut | What it captures |
|---|---|---|
| Note | N |
Element-anchored pin + computed style context + spatial PNG snapshot |
| Draw | D |
Freehand stroke path + annotated PNG snapshot for vision models |
| Element | E |
Whole-element highlight box (anchor.element = true) |
| Text | T |
In-place contenteditable copy diff (edit: { from, to }) |
| Style | S |
Live CSS inspector (color, background-color, font-size, font-weight, padding, border-radius) with instant preview and structured style_edits |
| Interact | I |
Click through the prototype normally |
When open copy or style suggestions exist, click Apply N copy/style edits → Round N+1 in the sidebar to publish the next round immediately without even calling an LLM.
Compare Any Two Rounds & Diff Highlight
Click Compare (C) to view the current round alongside any earlier round from the vs Round X selector. Toggle Diff to compare element text and styles across both iframes and outline every changed element.
Actionable Accessibility Audit
Toggle A11y in the top bar to scan the active screen for:
- WCAG text contrast failures
- Tap targets smaller than
44 × 44pxon touch devices - Images missing
altattributes & unlabeled interactive controls - Heading hierarchy skips (
h1→h3) - Horizontal viewport overflow
Click Pin on any finding (or Pin all for AI) to convert findings directly into anchored notes.
Round Approvals & Guest Share Links
- Sign-off: Reviewers can mark the current round Approve or Changes; decisions broadcast live and trigger email notifications and
round_approvedwebhooks. - External guests: Click Share review to mint revocable
/share/{token}links (comment & approve, or view-only). Guests see live updates, cursors, and presence scoped strictly to that design — never other designs in your organization.