Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review (claude): announce the mesh-failure panel to screen readers
Adam Eivy07e1dc1a338e
diff --git a/client/src/components/media/GlbViewer.jsx b/client/src/components/media/GlbViewer.jsxindex 4de180cd9d..ff4242cb5d 100644--- a/client/src/components/media/GlbViewer.jsx+++ b/client/src/components/media/GlbViewer.jsx@@ -113,6 +113,7 @@ function GlbLoadFailure({ error, onRetry }) {// on a page, not over an arbitrary canvas backdrop.<divdata-testid="glb-load-error"+ role="alert"className="port-media-overlay absolute inset-0 flex flex-col items-center justify-center gap-2 p-4 text-center"><AlertTriangle className="h-6 w-6 text-port-error" aria-hidden="true" />diff --git a/client/src/components/media/GlbViewer.test.jsx b/client/src/components/media/GlbViewer.test.jsxindex e63c86f2fd..81722f3fd3 100644--- a/client/src/components/media/GlbViewer.test.jsx+++ b/client/src/components/media/GlbViewer.test.jsx@@ -244,7 +244,9 @@ describe('GlbViewer load failures', () => {// escapes `render` here, exactly as it escapes to the router in the app.render(<GlbViewer src="/data/image-to-3d/abc/model.glb?v=1" />);- expect(screen.getByTestId('glb-load-error')).toBeInTheDocument();+ // `role="alert"`: the panel replaces the canvas without a navigation, so a+ // screen reader only hears about it if it announces itself.+ expect(screen.getByRole('alert')).toBeInTheDocument();expect(screen.getByText('This 3D model could not be loaded')).toBeInTheDocument();expect(screen.getByText(/answered with a web page instead of the mesh file/i)).toBeInTheDocument();expect(screen.queryByTestId('glb-canvas')).not.toBeInTheDocument();