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(i18n): put the auto-mounted language switcher in a named region so it stops reading as orphaned content

nirholas804b3b42df2b
diff --git a/src/i18n.js b/src/i18n.js
index 34fe9659c..803fe5cf3 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -556,6 +556,11 @@ async function mountFloatingSwitcher() {
const host = document.createElement('div');
host.className = 'twx-i18n-fab';
host.setAttribute('data-no-i18n', ''); // never annotate/translate the control itself
+ // A bare floating div leaves the picker outside every landmark, which reads to
+ // a screen reader as orphaned content (axe "region") on every page that gets
+ // the auto-mounted switcher. A named region puts it on the landmark list.
+ host.setAttribute('role', 'region');
+ host.setAttribute('aria-label', 'Language');
const style = document.createElement('style');
style.textContent = `
.twx-i18n-fab {