Skip to content

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.

fix(a11y): clear the axe WCAG-AA floor on the remaining top-30 pages

nirholasca291343fb7f
diff --git a/pages/animations.html b/pages/animations.html
index f54f3c300..6063d8206 100644
--- a/pages/animations.html
+++ b/pages/animations.html
@@ -111,7 +111,8 @@
}
.ag-hero-stats {
font-size: 12px;
- color: var(--text-3, #71717a);
+ /* Raised for the 4.5:1 axe AA floor; measured against this page's real bg. */
+ color: var(--text-3, #84848e);
font-variant-numeric: tabular-nums;
}
@@ -240,7 +241,7 @@
.ag-count {
margin-left: auto;
font-size: 12px;
- color: var(--text-3, #71717a);
+ color: var(--text-3, #84848e);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
@@ -280,7 +281,8 @@
outline: 2px solid var(--focus-ring-color, currentColor);
outline-offset: 2px;
}
- .ag-chip-count { opacity: 0.55; font-size: 11px; font-variant-numeric: tabular-nums; }
+ /* No opacity dim: .55 over the chip ink measured 2.0:1 (AA needs 4.5:1). */
+ .ag-chip-count { font-size: 11px; font-variant-numeric: tabular-nums; }
/* ── Grid ──────────────────────────────────────────────────────── */
.ag-content {
@@ -431,7 +433,8 @@
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.05em;
- color: var(--text-3, #71717a);
+ /* Raised for the 4.5:1 axe AA floor; measured against this page's real bg. */
+ color: var(--text-3, #84848e);
}
.ag-card-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 2px; }
.ag-card-btn {
diff --git a/pages/compose.html b/pages/compose.html
index a715b7bb1..8fe32432a 100644
--- a/pages/compose.html
+++ b/pages/compose.html
@@ -22,8 +22,11 @@
:root {
--bg:#07070f; --surface:#0c0c17; --surface2:#111120;
--border:rgba(255,255,255,0.07); --border2:rgba(255,255,255,0.04);
- --ink:#e4e4e7; --ink-dim:#71717a; --ink-mute:#3d3d4a;
- --accent:#6366f1; --accent-dim:rgba(99,102,241,0.16);
+ /* Raised for the 4.5:1 axe AA floor; measured against this page's real bg. */
+ --ink:#e4e4e7; --ink-dim:#84848e; --ink-mute:#8a8a94;
+ /* indigo-600, not -500: white button labels on #6366f1 measured 4.47:1,
+ a hair under the 4.5:1 axe AA floor; #4f46e5 measures 6.3:1. */
+ --accent:#4f46e5; --accent-dim:rgba(99,102,241,0.16);
--accent-border:rgba(99,102,241,0.4); --accent-text:#a5b4fc;
--danger:#f87171;
--font:system-ui,-apple-system,sans-serif;
diff --git a/pages/create.html b/pages/create.html
index 75804e329..af6c591d9 100644
--- a/pages/create.html
+++ b/pages/create.html
@@ -508,7 +508,7 @@
.card-subtitle code {
font-size: 11.5px;
- opacity: 0.75;
+ /* No opacity dim: .75 over --muted measured 3.35:1 (AA needs 4.5:1). */
background: rgba(255, 255, 255, 0.06);
padding: 1px 5px;
border-radius: 4px;
diff --git a/pages/marketplace.html b/pages/marketplace.html
index 70f4b069d..33b940a83 100644
--- a/pages/marketplace.html
+++ b/pages/marketplace.html
@@ -1429,7 +1429,8 @@
gap: 8px;
flex-wrap: wrap;
font-size: 11px;
- color: #71717a;
+ /* Raised for the 4.5:1 axe AA floor; measured against this page's real bg. */
+ color: #84848e;
}
.market-skill-card .skill-meta .cat-pill {
background: rgba(255, 255, 255, 0.1);
diff --git a/pages/start.html b/pages/start.html
index a8c9f3e8f..3c8d059c6 100644
--- a/pages/start.html
+++ b/pages/start.html
@@ -26,7 +26,8 @@
--border-2: #2a2a2a;
--text: #fafafa;
--text-2: #a1a1aa;
- --text-3: #52525b;
+ /* Raised for the 4.5:1 axe AA floor; measured against this page's real bg. */
+ --text-3: #84848e;
--accent: #fff;
--accent-ink: #000;
--green: #4ade80;
diff --git a/pages/unstoppable.html b/pages/unstoppable.html
index 9620ff4f2..f3825ba9c 100644
--- a/pages/unstoppable.html
+++ b/pages/unstoppable.html
@@ -29,8 +29,10 @@
--hairline-strong: #2a2a2a;
--text: #f6f6f6;
--text-2: #a8a8a8;
- --text-3: #6a6a6a;
- --text-4: #4a4a4a;
+ /* Raised for the 4.5:1 axe AA floor; measured against this page's real bg. */
+ --text-3: #8a8a8a;
+ /* Raised for the 4.5:1 axe AA floor; measured against this page's real bg. */
+ --text-4: #82828a;
--accent: #ffffff;
--green: #22c55e;
--green-dim: #16a34a;
diff --git a/public/pay/index.html b/public/pay/index.html
index 40f2f6aff..4f321a7eb 100644
--- a/public/pay/index.html
+++ b/public/pay/index.html
@@ -633,8 +633,9 @@
border-color: var(--border-strong) var(--border-strong) var(--panel);
}
.chain-tab .chip {
+ /* No opacity dim: .7 over --muted measured 3.6:1 (AA needs 4.5:1). */
font-family: var(--mono); font-size: 10px; color: var(--muted);
- margin-left: 6px; opacity: .7;
+ margin-left: 6px;
}
/* BSC panel — sits inside section.chat as a sibling of .conv + .composer.
diff --git a/public/style.css b/public/style.css
index 1379b2eeb..b366fbdf8 100644
--- a/public/style.css
+++ b/public/style.css
@@ -560,12 +560,14 @@ body.is-dragover .dropzone {
*/
/* Legacy 3D viewer/editor chrome (the wordmark + upload-bar header). Scoped
- * with :not(.nav):not(:has(#nav-container)) so it never leaks onto the
- * canonical global navigation, which is injected as a sticky
- * <header class="nav"> inside a <header><div id="nav-container"></header>
- * wrapper. Without this scope the fixed height + overflow-y:hidden below
- * clipped the shared nav on every page that loads style.css. */
-header:not(.nav):not(:has(#nav-container)) {
+ * to CLASSLESS headers only: every legacy chrome header is a bare <header>,
+ * while the canonical nav (<header class="nav">, or the <header> wrapper
+ * holding #nav-container) and any page's own semantic header (e.g. genesis's
+ * <header class="gx-head"> hero) carry a class or the container. The previous
+ * :not(.nav) scope leaked this fixed-height, overflow-x:auto strip onto every
+ * classed page header, squashing it to 55px and creating a keyboard-
+ * unreachable scroll region (axe scrollable-region-focusable on /genesis). */
+header:not([class]):not(:has(#nav-container)) {
display: flex;
flex-shrink: 0;
background: rgba(0, 0, 0, 0.8);
@@ -1016,7 +1018,8 @@ header h1 .wordmark-logo {
}
@media screen and (max-width: 700px) {
- header:not(.nav):not(:has(#nav-container)) {
+ /* Same classless-header scope as the desktop rule above. */
+ header:not([class]):not(:has(#nav-container)) {
padding: 0 1em;
height: 3rem;
line-height: 3rem;
diff --git a/src/scene-compose.js b/src/scene-compose.js
index d56a86982..9cad34ef6 100644
--- a/src/scene-compose.js
+++ b/src/scene-compose.js
@@ -610,7 +610,9 @@ function renderHierarchy() {
objectList.innerHTML = '';
if (sceneObjects.size === 0) {
const e = document.createElement('div');
- e.style.cssText = 'padding:14px 12px;font-size:11px;color:#3d3d4a;';
+ // var(--ink-mute), not the old hardcoded #3d3d4a: that hex measured
+ // 1.9:1 on the panel bg (axe AA needs 4.5:1); the page token passes.
+ e.style.cssText = 'padding:14px 12px;font-size:11px;color:var(--ink-mute,#8a8a94);';
e.textContent = 'No objects — load an avatar or forge an item.';
objectList.appendChild(e);
return;