Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
IRL accessibility pass: keyboard + screen-reader + reduced-motion
roundtripped03d7a296d5b9
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex dcc71fa88..6d04cb79b 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -19,6 +19,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Getting-started progress now follows you across the whole platform** — Your setup checklist no longer forgets what you've done. The floating "Getting started" guide and the dashboard's onboarding panel now share one source of truth: the moment you create an avatar, give an agent a personality, or embed a widget, every checklist on the site ticks that step — no more seeing "2 of 4 done" in one place and "0 of 3" in another on the same visit. Visiting your dashboard reconciles your real progress automatically, and saving a persona to an agent now completes the "give it a brain" step the instant it happens. `[improvement]`- **Hardened the widget custom-brain proxy against internal-network abuse** — Chat widgets configured with a custom AI "brain" endpoint now route that request through our SSRF guard, so a widget owner can no longer point it at a private/internal address to probe our network. No change for legitimate public endpoints. We also tightened a few backend read paths so a temporary database or price-feed hiccup surfaces as "temporarily unavailable" instead of silently looking like empty data. `[security, improvement]`- **IBM sites can now embed three.ws pages** — We extended the sitewide clickjacking protection to allow IBM properties to frame three.ws. Any page on ibm.com (and its subdomains) may now load three.ws pages inside an iframe — useful for the IBM x402 demo and other IBM-hosted integrations — while every other external site is still refused by default. Sign-in, wallet, dashboard and OAuth consent pages remain hard-locked and cannot be framed by anyone, including IBM. The avatar, widget and walk embeds continue to work on any site as before. `[security, improvement]`+- **IRL is fully keyboard- and screen-reader-accessible** — You can now drive every part of IRL without a mouse or touch. Each control — the camera button, the pill row, the object picker, every sheet — shows a clear focus ring as you Tab through it, and opening a panel (inspect an agent, add a caption, My Pins, report) traps focus inside it, closes on Escape, and returns focus to wherever you were. Toggle buttons announce their on/off state to screen readers, status messages are spoken politely as they appear, and we lifted faint grey text so it meets contrast guidelines on the dark camera background. If you've turned on Reduce Motion, the ambient pulses and glows hold still while your agent keeps moving. (`/irl`) `[improvement]`- **IRL is sharper on phones, in any orientation** — We polished IRL for the device it lives on. Every on-screen control now clears the notch and home indicator on modern phones — in portrait and landscape both — so nothing hides behind the camera cutout or rounded corners. On the narrowest phones the bottom controls wrap cleanly instead of squishing or clipping, and every button is a full finger-sized target. Typing a caption or message no longer makes Safari zoom the page in, long agent names truncate neatly instead of overflowing, and the calibrate readouts stay legible whichever way you hold the phone. (`/irl`) `[improvement]`- **IRL stays fast and recovers gracefully in long AR sessions** — IRL is built to run for an hour without slowing down. Swapping your avatar now fully releases the previous 3D model from memory instead of leaving it behind, so trying on a dozen looks in one session no longer piles up. If your phone reclaims graphics memory and the camera view would otherwise go black — a common thing on mobile after the tab sits idle — IRL now pauses cleanly and restores the scene, with a clear "AR paused, restoring…" card and a one-tap reload if your device needs it. Backgrounding the tab pauses the render loop and quiets the camera to save battery, then resumes the moment you come back. And as you move, avatars you walk past stop holding a load slot ahead of the ones you're heading toward, so the nearest agents always render first. (`/irl`) `[improvement]`- **IRL surfaces now show clear loading, empty, and error states** — Every IRL screen that loads data now has a designed loading, empty, and error state — no more stuck "Loading…" or blank screens. Open "My pins" and you'll see a skeleton while it loads, a friendly nudge to drop your first agent when you have none, and a one-tap Retry if the network hiccups. Tapping an agent shows the same care: if its profile can't load, you get a clear message and Retry while its name and a link to the full profile stay put. The nearby radar reads as intentionally empty ("Be the first to pin here") instead of a broken dial, and the count beside it no longer flashes "0 nearby" before we've finished looking. On devices that can't run the AR view, you get a helpful card explaining why and where to go next — not a bare error. (`/irl`) `[improvement]`diff --git a/data/changelog.json b/data/changelog.jsonindex 7b037d46f..278a04ee7 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-19",+ "title": "IRL is fully keyboard- and screen-reader-accessible",+ "summary": "You can now drive every part of IRL without a mouse or touch. Each control — the camera button, the pill row, the object picker, every sheet — shows a clear focus ring as you Tab through it, and opening a panel (inspect an agent, add a caption, My Pins, report) traps focus inside it, closes on Escape, and returns focus to wherever you were. Toggle buttons announce their on/off state to screen readers, status messages are spoken politely as they appear, and we lifted faint grey text so it meets contrast guidelines on the dark camera background. If you've turned on Reduce Motion, the ambient pulses and glows hold still while your agent keeps moving.",+ "tags": [+ "improvement"+ ],+ "link": "/irl"+ },{"date": "2026-06-19","title": "IRL teaches you how to find agents — and an empty area now feels alive",diff --git a/public/changelog.json b/public/changelog.jsonindex 1711dee1c..b6c6b1eef 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-19T09:46:01.138Z",+ "generated_at": "2026-06-19T09:48:35.457Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -140,6 +140,16 @@"improvement"]},+ {+ "date": "2026-06-19",+ "type": "update",+ "title": "IRL is fully keyboard- and screen-reader-accessible",+ "summary": "You can now drive every part of IRL without a mouse or touch. Each control — the camera button, the pill row, the object picker, every sheet — shows a clear focus ring as you Tab through it, and opening a panel (inspect an agent, add a caption, My Pins, report) traps focus inside it, closes on Escape, and returns focus to wherever you were. Toggle buttons announce their on/off state to screen readers, status messages are spoken politely as they appear, and we lifted faint grey text so it meets contrast guidelines on the dark camera background. If you've turned on Reduce Motion, the ambient pulses and glows hold still while your agent keeps moving.",+ "link": "/irl",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-06-19","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 4f7c50381..664b74977 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -110,6 +110,14 @@<category>security</category><description>We extended the sitewide clickjacking protection to allow IBM properties to frame three.ws. Any page on ibm.com (and its subdomains) may now load three.ws pages inside an iframe — useful for the IBM x402 demo and other IBM-hosted integrations — while every other external site is still refused by default. Sign-in, wallet, dashboard and OAuth consent pages remain hard-locked and cannot be framed by anyone, including IBM. The avatar, widget and walk embeds continue to work on any site as before.</description></item>+ <item>+ <title>IRL is fully keyboard- and screen-reader-accessible</title>+ <link>https://three.ws/irl</link>+ <guid isPermaLink="false">2026-06-19:IRL is fully keyboard- and screen-reader-accessible</guid>+ <pubDate>Fri, 19 Jun 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>You can now drive every part of IRL without a mouse or touch. Each control — the camera button, the pill row, the object picker, every sheet — shows a clear focus ring as you Tab through it, and opening a panel (inspect an agent, add a caption, My Pins, report) traps focus inside it, closes on Escape, and returns focus to wherever you were. Toggle buttons announce their on/off state to screen readers, status messages are spoken politely as they appear, and we lifted faint grey text so it meets contrast guidelines on the dark camera background. If you've turned on Reduce Motion, the ambient pulses and glows hold still while your agent keeps moving.</description>+ </item><item><title>IRL is sharper on phones, in any orientation</title><link>https://three.ws/irl</link>diff --git a/public/features.json b/public/features.jsonindex 8c6d83523..98454b0e0 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-19T09:46:00.967Z",+ "generated_at": "2026-06-19T09:48:35.312Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/tasks/irl-production/07-accessibility-pass.md b/tasks/irl-production/07-accessibility-pass.mddeleted file mode 100644index ee9acd030..000000000--- a/tasks/irl-production/07-accessibility-pass.md+++ /dev/null@@ -1,76 +0,0 @@-# Task 07 — Accessibility pass--**Phase:** 2 (UX / polish) · **Effort:** M · **Files:** `pages/irl.html`, `src/irl.js`--## Why-Accessibility is not optional (CLAUDE.md). The IRL controls today have hover/active-states but inconsistent keyboard focus, no Escape-to-dismiss on sheets, and a few-ARIA/contrast/reduced-motion gaps. A production launch must be keyboard- and-screen-reader-navigable and respect motion preferences.--## Read first (verify before fixing)-- Hero camera button — `pages/irl.html` `#irl-camera-btn` (~1558) + its CSS (~310-351)-- Pill buttons — `.irl-pill-btn` CSS + the secondary control row markup-- Object picker buttons — `.irl-obj-btn` (~539-570)-- Sheets: inspect card, caption panel, My Pins, report — their markup + open/close in `src/irl.js`-- Lock-icon gyro pulse animation — `pages/irl.html` `#irl-lock-icon` `@keyframes irl-gyro-pulse` (~513)-- Radar markup + `aria-hidden` — `pages/irl.html` `.irl-radar` (~1704)--## Scope — confirm, then fix--1. **`:focus-visible` on every interactive control.** Hero Camera AR button, all- `.irl-pill-btn`, `.irl-obj-btn`, report reasons, sheet close buttons, topbar- Back/Share. Use a consistent ring (`outline: 2px solid …; outline-offset: 2px`)- matching existing focused elements. No control may be reachable by keyboard- without a visible focus indicator.--2. **Keyboard dismiss for every sheet/overlay.** Escape closes the inspect card,- caption panel, My Pins, report sheet, and the full-screen overlay. Trap focus- within an open modal sheet and restore focus to the trigger on close.--3. **Reduced-motion.** Wrap the lock gyro-pulse and any continuous/decorative- animation in `@media (prefers-reduced-motion: reduce)` to pause it. Avatar- movement is content, not decoration — leave it, but kill ambient UI motion.--4. **ARIA correctness.** Buttons that toggle (Pin here, Add object, Appear nearby)- expose accurate `aria-pressed`. Status toasts use `aria-live` (verify polite vs- assertive). The radar: either expose its compass labels meaningfully or keep it- `aria-hidden` but ensure the same info exists in text (nearby count). Sheets use- `role="dialog"`/`aria-modal` + labelledby.--5. **Color contrast.** Audit muted-grey text (status toasts, pin captions, "polling"- pill, service descriptions) against WCAG AA on the dark/AR background. Lift any- that fail. The degraded "polling" state should read as amber (degraded), not grey- (disabled).--## Implementation guidance-- Prefer a shared focus-ring utility class over per-element rules.-- A reusable `openSheet(el, { onClose })`/`closeSheet()` that wires Escape + focus- trap + restore would dedupe the four sheets — but match existing patterns; don't- over-refactor.--## Out of scope-Empty/error state content (task 08); copy rewrites (task 09); responsive layout (task 10).--## Definition of done-- [ ] Full keyboard walkthrough: every control reachable + visibly focused; every- sheet dismissible with Escape; focus restored to trigger.-- [ ] `prefers-reduced-motion` stops all decorative UI animation.-- [ ] Contrast checked (note tool/values) — no AA failures on key text.-- [ ] VoiceOver/TalkBack spot check on the main controls (document what you tested).-- [ ] esbuild clean; `npm test` green; changelog entry ("IRL is fully keyboard- and- screen-reader-accessible").--<!-- AUTO:self-delete-on-complete -->-------## ✅ On completion — delete this file--This file is a unit of work, not a permanent doc. The moment every item above is **built, wired, verified, and committed** to the "Definition of done" in the repo-root `CLAUDE.md`, remove it in the same change:--```bash-git rm "tasks/irl-production/07-accessibility-pass.md"-```--Stage the deletion alongside your implementation and include it in the completion commit. This directory is the backlog: a file that still exists is unfinished work; a file that is gone has shipped. Do not delete early, and never leave a completed prompt behind.