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: scope the responsive-hidden guard precisely and fix its real offenders
[._.]/ Adam Eivye73873cc9ad0
diff --git a/client/src/a11yConventions.test.js b/client/src/a11yConventions.test.jsindex d42f606ef5..5814898106 100644--- a/client/src/a11yConventions.test.js+++ b/client/src/a11yConventions.test.js@@ -2360,46 +2360,6 @@ describe('a11y conventions', () => {expect(offenders, `Icon-only <button> with no aria-label/aria-labelledby — title alone isn't touch-discoverable and isn't reliably read as the accessible name; see media/MediaCard.jsx's Annotate button for the convention:\n${offenders.join('\n')}`).toEqual([]);});- // Pre-existing sites that use the same `hidden <bp>:inline` idiom for a- // control whose accessible name comes only from `title` (never- // aria-label). #8118 fixed the 14 sites its live-accessibility-tree audit- // found genuinely nameless; these carry the identical static shape but- // were out of that issue's audited scope. Tracked as a follow-up rather- // than silently reopening the scope of #8118 — see #8141. Fix by- // converting to `max-<bp>:sr-only` / `@max-<size>:sr-only` (or adding a- // real aria-label) and removing the entry.- const RESPONSIVE_HIDDEN_LABEL_ALLOWLIST = new Set([- 'src/pages/MediaAnnotate.jsx',- 'src/pages/Shell.jsx',- 'src/components/shell/ItermShellView.jsx',- 'src/components/shell/TerminalHotKeys.jsx',- 'src/components/shell/ShellProviderLauncher.jsx',- 'src/components/shell/ShellImageDrop.jsx',- 'src/components/songs/RoundSheetMusic.jsx',- 'src/components/songs/ScoreSheet.jsx',- 'src/components/goals/GoalsTreeView.jsx',- 'src/components/goals/GoalsListView.jsx',- 'src/components/writers-room/WorkEditor.jsx',- 'src/components/brain/tabs/DailyLogTab.jsx',- 'src/components/brain/tabs/FeedsTab.jsx',- 'src/components/brain/tabs/InboxTab.jsx',- 'src/components/brain/tabs/YoutubeTab.jsx',- 'src/components/fableloom/LoomPlayPanel.jsx',- 'src/components/apps/AppDetailView.jsx',- 'src/components/apps/tabs/GitTab.jsx',- 'src/components/dashboard/LayoutPicker.jsx',- 'src/pages/ProcessesPage.jsx',- 'src/pages/WritersRoom.jsx',- 'src/pages/FableLoomStory.jsx',- 'src/pages/AgentsPage.jsx',- 'src/pages/UsagePage.jsx',- 'src/pages/Eidoverse.jsx',- 'src/pages/CharacterSheet.jsx',- 'src/pages/VideoTimelineEditor.jsx',- 'src/pages/Brain.jsx',- 'src/components/dashboard/builtins/HourlyActivityWidget.jsx',- ]);-it('keeps a responsive-hidden control label in the accessible name', () => {// A <button>/<a>/<Link> whose only text sits inside a `hidden// sm:inline`/`hidden @xs:inline` span loses its name exactly where that@@ -2409,7 +2369,6 @@ describe('a11y conventions', () => {// so the label stays in the tree and is hidden only visually.const offenders = [];for (const file of trackedJsxFiles()) {- if (RESPONSIVE_HIDDEN_LABEL_ALLOWLIST.has(file)) continue;const src = rawSourceOf(file);for (const tagName of ['button', 'a', 'Link']) {for (const node of forEachOpeningTag(src, tagName)) {diff --git a/client/src/components/brain/tabs/FeedsTab.jsx b/client/src/components/brain/tabs/FeedsTab.jsxindex 897d7a52d2..226a167c20 100644--- a/client/src/components/brain/tabs/FeedsTab.jsx+++ b/client/src/components/brain/tabs/FeedsTab.jsx@@ -201,7 +201,7 @@ export default function FeedsTab({ onRefresh }) {title="Mark all as read"><CheckCheck size={14} />- <span className="hidden sm:inline">Mark all read</span>+ <span className="max-sm:sr-only">Mark all read</span></button>)}{feeds.length > 0 && (@@ -212,7 +212,7 @@ export default function FeedsTab({ onRefresh }) {title="Refresh all feeds"><RefreshCw size={14} className={refreshing ? 'animate-spin' : ''} />- <span className="hidden sm:inline">Refresh</span>+ <span className="max-sm:sr-only">Refresh</span></button>)}</div>diff --git a/client/src/components/goals/GoalsTreeView.jsx b/client/src/components/goals/GoalsTreeView.jsxindex 3462da59d1..5c5a84aa81 100644--- a/client/src/components/goals/GoalsTreeView.jsx+++ b/client/src/components/goals/GoalsTreeView.jsx@@ -512,7 +512,7 @@ export default function GoalsTreeView({ data, onRefresh }) {title={cfg.label}><Icon className="w-3 h-3" />- <span className="hidden sm:inline">{cfg.label}</span>+ <span className="max-sm:sr-only">{cfg.label}</span></button>);})}diff --git a/client/src/pages/MediaAnnotate.jsx b/client/src/pages/MediaAnnotate.jsxindex 7ef2414a52..5139b6d9f3 100644--- a/client/src/pages/MediaAnnotate.jsx+++ b/client/src/pages/MediaAnnotate.jsx@@ -234,7 +234,7 @@ export default function MediaAnnotate() {<div className="flex flex-col h-full overflow-y-auto"><div className="p-3 md:p-4 border-b border-port-border flex flex-wrap items-center gap-2 sticky top-0 bg-port-bg/95 backdrop-blur z-10"><Link to={backPath} className="text-gray-400 hover:text-white inline-flex items-center gap-1 text-sm mr-1" title={`Back to ${backLabel}`}>- <ArrowLeft className="w-4 h-4" /> <span className="hidden sm:inline">{backLabel}</span>+ <ArrowLeft className="w-4 h-4" /> <span className="max-sm:sr-only">{backLabel}</span></Link>{/* Draw / erase */}@@ -304,7 +304,7 @@ export default function MediaAnnotate() {className="px-2 py-1.5 text-xs bg-port-card border border-port-border rounded hover:bg-port-border disabled:opacity-40 inline-flex items-center gap-1"title="Undo last stroke">- <Undo2 className="w-3.5 h-3.5" /> <span className="hidden sm:inline">Undo</span>+ <Undo2 className="w-3.5 h-3.5" /> <span className="max-sm:sr-only">Undo</span></button><buttontype="button"@@ -313,7 +313,7 @@ export default function MediaAnnotate() {className="px-2 py-1.5 text-xs bg-port-card border border-port-border rounded hover:bg-port-border disabled:opacity-40 inline-flex items-center gap-1"title="Clear all strokes">- <Trash2 className="w-3.5 h-3.5" /> <span className="hidden sm:inline">Clear</span>+ <Trash2 className="w-3.5 h-3.5" /> <span className="max-sm:sr-only">Clear</span></button><buttontype="button"@@ -322,7 +322,7 @@ export default function MediaAnnotate() {className="px-2 py-1.5 text-xs bg-port-card border border-port-border rounded hover:bg-port-border disabled:opacity-40 inline-flex items-center gap-1"title="Download flattened PNG">- <Download className="w-3.5 h-3.5" /> <span className="hidden sm:inline">Export</span>+ <Download className="w-3.5 h-3.5" /> <span className="max-sm:sr-only">Export</span></button><buttontype="button"@@ -343,7 +343,7 @@ export default function MediaAnnotate() {className="px-3 py-1.5 text-xs bg-port-accent text-white rounded hover:bg-port-accent/80 disabled:opacity-40 inline-flex items-center gap-1"title={strokes.length === 0 ? 'Draw over the image first' : 'Re-render this image guided by your annotations'}>- <Wand2 className="w-3.5 h-3.5" /> <span className="hidden sm:inline">Re-render</span>+ <Wand2 className="w-3.5 h-3.5" /> <span className="max-sm:sr-only">Re-render</span></button>) : null}</div>diff --git a/client/src/pages/Shell.jsx b/client/src/pages/Shell.jsxindex e28808fc2d..da3416b1cd 100644--- a/client/src/pages/Shell.jsx+++ b/client/src/pages/Shell.jsx@@ -199,7 +199,7 @@ function PortosShellView() {title="Restart session (kill + new)"><RefreshCw size={16} />- <span className="hidden sm:inline">Restart</span>+ <span className="max-sm:sr-only">Restart</span></button>)}{connected && (@@ -209,7 +209,7 @@ function PortosShellView() {title={isLiveRun ? 'Stop this TUI run' : 'Kill current session'}><PowerOff size={16} />- <span className="hidden sm:inline">Stop</span>+ <span className="max-sm:sr-only">Stop</span></button>)}<button@@ -218,7 +218,7 @@ function PortosShellView() {title="Start new session"><Power size={16} />- <span className="hidden sm:inline">New</span>+ <span className="max-sm:sr-only">New</span></button></div></div>