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): turn the marketplace View more link into a button that expands in place

nirholas57bc3dcac74e
diff --git a/public/marketplace.css b/public/marketplace.css
index b63b7b892..fdae25469 100644
--- a/public/marketplace.css
+++ b/public/marketplace.css
@@ -1927,10 +1927,25 @@ body.market-page > header {
align-items: center;
}
-.related-side-title a {
+/* "View more" expands the list in place; it navigates nowhere, so it is a button. */
+.related-side-title button {
font-size: 12px;
color: var(--ink-dim);
text-decoration: none;
+ appearance: none;
+ background: none;
+ border: 0;
+ padding: 0;
+ font-family: inherit;
+ cursor: pointer;
+}
+.related-side-title button:hover {
+ color: var(--ink);
+}
+.related-side-title button:focus-visible {
+ outline: 2px solid var(--accent, currentColor);
+ outline-offset: 2px;
+ border-radius: 2px;
}
.related-card {
diff --git a/src/launchpad/landing.js b/src/launchpad/landing.js
index c0517e281..e7b9c4168 100644
--- a/src/launchpad/landing.js
+++ b/src/launchpad/landing.js
@@ -154,8 +154,11 @@ const STYLE = `
.lp-sec-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:26px; flex-wrap:wrap; }
.lp-sec-head h2 { margin:0; font-size:26px; font-weight:750; letter-spacing:-0.02em; }
.lp-sec-head p { margin:6px 0 0; color:var(--muted); font-size:15px; max-width:560px; }
- .lp-sec-head a.more { font-size:14px; color:var(--muted); text-decoration:none; white-space:nowrap; }
- .lp-sec-head a.more:hover { color:var(--fg); }
+ /* `.more` is an anchor when it navigates (All launches) and a button when it
+ acts on this page (Build yours opens the builder), so style the class. */
+ .lp-sec-head .more { font-size:14px; color:var(--muted); text-decoration:none; white-space:nowrap;
+ appearance:none; background:none; border:0; padding:0; font-family:inherit; cursor:pointer; }
+ .lp-sec-head .more:hover { color:var(--fg); }
/* Template chooser */
.lp-tpl-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@@ -213,7 +216,7 @@ const STYLE = `
/* Keyboard focus — every interactive element gets a visible ring */
.lp-btn:focus-visible, .lp-coin:focus-visible, .lp-card:focus-visible,
- .lp-sec-head a.more:focus-visible, .lp-cta-row a:focus-visible {
+ .lp-sec-head .more:focus-visible, .lp-cta-row a:focus-visible {
outline:2px solid #ec4899; outline-offset:2px;
}
.lp-tpl:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@@ -355,7 +358,7 @@ function shellHTML() {
<h2>Built on three.ws</h2>
<p>Real pages published through the launchpad. Click any to see it live.</p>
</div>
- <a class="more" href="#" data-action="build">Build yours →</a>
+ <button class="more" type="button" data-action="build">Build yours →</button>
</div>
<div class="lp-gal" data-gallery aria-busy="true" aria-label="Published launchpad pages">
${Array.from({ length: 6 }).map(() => '<div class="lp-gal-skel" aria-hidden="true"></div>').join('')}