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
fix(a11y): give Review Actions view tabs a matching tabpanel (#9166)
Adam Eivy57466a73aebe
diff --git a/client/src/pages/Review.jsx b/client/src/pages/Review.jsxindex df1f7b7652..3ae1f4f0fa 100644--- a/client/src/pages/Review.jsx+++ b/client/src/pages/Review.jsx@@ -468,6 +468,7 @@ export default function Review() {mobileSelectId="actions-view-select"controlsIdPrefix="actions-view"/>+ <div role="tabpanel" id={`actions-view-${actionView}`} aria-labelledby={`tab-${actionView}`} className="space-y-3">{/* Triage summary */}<section className="flex flex-wrap gap-2">{queue && <span className="text-sm text-port-text">{queue.partial || queueError ? 'At least ' : ''}{formatCount(queueItems.filter(item => item.required === true).length)} required</span>}@@ -668,6 +669,7 @@ export default function Review() {<p className="text-sm mt-1">This hub will fill up as agents surface alerts, actions, and briefing context.</p></div>)}+ </div></div><ActionDetailitem={selectedAction}diff --git a/client/src/pages/Review.test.jsx b/client/src/pages/Review.test.jsxindex 3fee375f41..d416051041 100644--- a/client/src/pages/Review.test.jsx+++ b/client/src/pages/Review.test.jsx@@ -608,3 +608,16 @@ describe('Review Hub Daily Briefing fullscreen dialog (#9121)', () => {expect(screen.getByRole('button', { name: 'Fullscreen' })).toHaveFocus();});});++describe('Actions view tabs wiring', () => {+ it.each(['today', 'waiting'])('points the selected %s tab at a tabpanel it labels', async (view) => {+ routerState.searchParams = new URLSearchParams(`view=${view}`);+ render(<Review />);+ const tab = await screen.findByRole('tab', { selected: true });+ const panel = document.getElementById(tab.getAttribute('aria-controls'));+ expect(panel).toBeTruthy();+ expect(panel.getAttribute('role')).toBe('tabpanel');+ expect(panel.getAttribute('aria-labelledby')).toBe(tab.id);+ expect(tab.id).toBe(`tab-${view}`);+ });+});