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
fix(a11y): stop the glossary tooltip putting tab stops inside aria-hidden content
nirholas183b99a633f2
diff --git a/public/glossary.js b/public/glossary.jsindex 6e3a81657..8c4a9f96a 100644--- a/public/glossary.js+++ b/public/glossary.js@@ -358,9 +358,17 @@var par = node.parentNode;if (!par) return;if (SKIP_TAGS[par.tagName]) return;- // Skip if inside any skip context or already inside a tooltip+ // Skip if inside any skip context or already inside a tooltip.+ // aria-hidden / hidden / inert subtrees are skipped for two reasons, and+ // the accessibility one is the serious half: a wrapper carries+ // tabindex="0", so wrapping a term inside an aria-hidden subtree hands a+ // keyboard user a tab stop on content a screen reader announces as+ // nothing (axe: aria-hidden-focus, serious). It also wastes the+ // first-occurrence slot for that term on decorative text, so the real+ // occurrence further down the page silently never gets its tooltip.if (par.closest) {if (par.closest('code,pre,a,button,input,textarea,select,.tws-tt,[data-term]')) return;+ if (par.closest('[aria-hidden="true"],[hidden],[inert]')) return;}var text = node.textContent;