Skip to content

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

fix: add accessible names and column header scope to data tables (#8737)

[._.]/ Adam Eivyd825455beb76
diff --git a/client/src/components/apps/AppQuality.jsx b/client/src/components/apps/AppQuality.jsx
index 011faa61dd..ce3bfcbf5d 100644
--- a/client/src/components/apps/AppQuality.jsx
+++ b/client/src/components/apps/AppQuality.jsx
@@ -157,13 +157,13 @@ export default function AppQuality({ app, detail = false }) {
</select>
</label>
</div>
- <table className="w-full text-sm text-left">
+ <table className="w-full text-sm text-left" aria-label="Category audit results">
<thead className="text-xs text-gray-400">
<tr>
- <th className="py-1.5 px-2">Category</th>
- <th className="py-1.5 px-2">Score</th>
- <th className="py-1.5 px-2 hidden sm:table-cell">Evidence</th>
- <th className="py-1.5 px-2"><span className="sr-only">Actions</span></th>
+ <th scope="col" className="py-1.5 px-2">Category</th>
+ <th scope="col" className="py-1.5 px-2">Score</th>
+ <th scope="col" className="py-1.5 px-2 hidden sm:table-cell">Evidence</th>
+ <th scope="col" className="py-1.5 px-2"><span className="sr-only">Actions</span></th>
</tr>
</thead>
<tbody>{sortedCategories.map(category => <CategoryRow key={category.id} category={category}
diff --git a/client/src/components/apps/tabs/ProcessesTab.jsx b/client/src/components/apps/tabs/ProcessesTab.jsx
index 3b77ec50d0..d410f6ab5b 100644
--- a/client/src/components/apps/tabs/ProcessesTab.jsx
+++ b/client/src/components/apps/tabs/ProcessesTab.jsx
@@ -88,18 +88,20 @@ export default function ProcessesTab({ appId, pm2ProcessNames, filterFn }) {
</div>
<div className="bg-port-card border border-port-border rounded-xl overflow-hidden overflow-x-auto">
- <table className="w-full min-w-[700px]">
+ <table className="w-full min-w-[700px]" aria-label="PM2 processes">
<thead className="bg-port-border/50">
<tr>
- <th className="px-4 py-3 text-left text-sm font-medium text-gray-400 w-8"></th>
- <th className="px-4 py-3 text-left text-sm font-medium text-gray-400">Name</th>
- <th className="px-4 py-3 text-left text-sm font-medium text-gray-400">Status</th>
- <th className="px-4 py-3 text-left text-sm font-medium text-gray-400">PID</th>
- <th className="px-4 py-3 text-left text-sm font-medium text-gray-400">CPU</th>
- <th className="px-4 py-3 text-left text-sm font-medium text-gray-400">Memory</th>
- <th className="px-4 py-3 text-left text-sm font-medium text-gray-400">Uptime</th>
- <th className="px-4 py-3 text-left text-sm font-medium text-gray-400">Restarts</th>
- <th className="px-4 py-3 text-right text-sm font-medium text-gray-400">Actions</th>
+ <th scope="col" className="px-4 py-3 text-left text-sm font-medium text-gray-400 w-8">
+ <span className="sr-only">Details</span>
+ </th>
+ <th scope="col" className="px-4 py-3 text-left text-sm font-medium text-gray-400">Name</th>
+ <th scope="col" className="px-4 py-3 text-left text-sm font-medium text-gray-400">Status</th>
+ <th scope="col" className="px-4 py-3 text-left text-sm font-medium text-gray-400">PID</th>
+ <th scope="col" className="px-4 py-3 text-left text-sm font-medium text-gray-400">CPU</th>
+ <th scope="col" className="px-4 py-3 text-left text-sm font-medium text-gray-400">Memory</th>
+ <th scope="col" className="px-4 py-3 text-left text-sm font-medium text-gray-400">Uptime</th>
+ <th scope="col" className="px-4 py-3 text-left text-sm font-medium text-gray-400">Restarts</th>
+ <th scope="col" className="px-4 py-3 text-right text-sm font-medium text-gray-400">Actions</th>
</tr>
</thead>
<tbody className="divide-y divide-port-border">
diff --git a/client/src/components/apps/tabs/TasksTab.jsx b/client/src/components/apps/tabs/TasksTab.jsx
index b59acf500f..6157707b99 100644
--- a/client/src/components/apps/tabs/TasksTab.jsx
+++ b/client/src/components/apps/tabs/TasksTab.jsx
@@ -98,14 +98,14 @@ export default function TasksTab({ appId }) {
</div>
) : (
<div className="bg-port-card border border-port-border rounded-lg overflow-x-auto">
- <table className="w-full min-w-[40rem] table-fixed text-sm">
+ <table className="w-full min-w-[40rem] table-fixed text-sm" aria-label="Agent tasks">
<thead>
<tr className="border-b border-port-border">
- <th className="text-left px-4 py-3 text-xs text-gray-400 uppercase tracking-wide font-medium">Description</th>
- <th className="w-28 text-left px-4 py-3 text-xs text-gray-400 uppercase tracking-wide font-medium whitespace-nowrap">Type</th>
- <th className="w-32 text-center px-4 py-3 text-xs text-gray-400 uppercase tracking-wide font-medium whitespace-nowrap">Status</th>
- <th className="w-28 text-right px-4 py-3 text-xs text-gray-400 uppercase tracking-wide font-medium whitespace-nowrap">Duration</th>
- <th className="w-28 text-right px-4 py-3 text-xs text-gray-400 uppercase tracking-wide font-medium whitespace-nowrap">When</th>
+ <th scope="col" className="text-left px-4 py-3 text-xs text-gray-400 uppercase tracking-wide font-medium">Description</th>
+ <th scope="col" className="w-28 text-left px-4 py-3 text-xs text-gray-400 uppercase tracking-wide font-medium whitespace-nowrap">Type</th>
+ <th scope="col" className="w-32 text-center px-4 py-3 text-xs text-gray-400 uppercase tracking-wide font-medium whitespace-nowrap">Status</th>
+ <th scope="col" className="w-28 text-right px-4 py-3 text-xs text-gray-400 uppercase tracking-wide font-medium whitespace-nowrap">Duration</th>
+ <th scope="col" className="w-28 text-right px-4 py-3 text-xs text-gray-400 uppercase tracking-wide font-medium whitespace-nowrap">When</th>
</tr>
</thead>
<tbody>
diff --git a/client/src/pages/AgentsPage.jsx b/client/src/pages/AgentsPage.jsx
index 67cfa36345..8659271c09 100644
--- a/client/src/pages/AgentsPage.jsx
+++ b/client/src/pages/AgentsPage.jsx
@@ -189,16 +189,18 @@ export function AgentsPage() {
{/* Desktop Table View */}
<div className="hidden sm:block overflow-x-auto">
- <table className="w-full min-w-[600px]">
+ <table className="w-full min-w-[600px]" aria-label="Running AI agents">
<thead>
<tr className="border-b border-port-border">
- <th className="px-4 py-4 text-left text-sm font-semibold text-gray-400 w-8"></th>
- <th className="px-4 py-4 text-left text-sm font-semibold text-gray-400">PID</th>
- <th className="px-4 py-4 text-left text-sm font-semibold text-gray-400">Runtime</th>
- <th className="px-4 py-4 text-left text-sm font-semibold text-gray-400">CPU %</th>
- <th className="px-4 py-4 text-left text-sm font-semibold text-gray-400">Memory %</th>
- <th className="px-4 py-4 text-left text-sm font-semibold text-gray-400">Command</th>
- <th className="px-4 py-4 text-center text-sm font-semibold text-gray-400">Actions</th>
+ <th scope="col" className="px-4 py-4 text-left text-sm font-semibold text-gray-400 w-8">
+ <span className="sr-only">Details</span>
+ </th>
+ <th scope="col" className="px-4 py-4 text-left text-sm font-semibold text-gray-400">PID</th>
+ <th scope="col" className="px-4 py-4 text-left text-sm font-semibold text-gray-400">Runtime</th>
+ <th scope="col" className="px-4 py-4 text-left text-sm font-semibold text-gray-400">CPU %</th>
+ <th scope="col" className="px-4 py-4 text-left text-sm font-semibold text-gray-400">Memory %</th>
+ <th scope="col" className="px-4 py-4 text-left text-sm font-semibold text-gray-400">Command</th>
+ <th scope="col" className="px-4 py-4 text-center text-sm font-semibold text-gray-400">Actions</th>
</tr>
</thead>
<tbody>
diff --git a/client/src/pages/UsagePage.jsx b/client/src/pages/UsagePage.jsx
index b66950d82b..267c43f6d9 100644
--- a/client/src/pages/UsagePage.jsx
+++ b/client/src/pages/UsagePage.jsx
@@ -311,16 +311,16 @@ function CostReportTable({ report }) {
{/* Desktop view (>= sm): Table layout */}
<div className="hidden sm:block overflow-x-auto">
- <table className="w-full text-sm min-w-[680px]">
+ <table className="w-full text-sm min-w-[680px]" aria-label="Provider token usage and costs">
<thead>
<tr className="text-left text-xs text-gray-400 border-b border-port-border">
- <th className="py-2 pr-2 font-medium">Provider / Model</th>
- <th className="py-2 px-2 font-medium text-right">Sessions</th>
- <th className="py-2 px-2 font-medium text-right">Tokens In</th>
- <th className="py-2 px-2 font-medium text-right hidden md:table-cell">Cache Read</th>
- <th className="py-2 px-2 font-medium text-right hidden md:table-cell">Cache Write</th>
- <th className="py-2 px-2 font-medium text-right">Tokens Out</th>
- <th className="py-2 pl-2 font-medium text-right">Est. API Cost</th>
+ <th scope="col" className="py-2 pr-2 font-medium">Provider / Model</th>
+ <th scope="col" className="py-2 px-2 font-medium text-right">Sessions</th>
+ <th scope="col" className="py-2 px-2 font-medium text-right">Tokens In</th>
+ <th scope="col" className="py-2 px-2 font-medium text-right hidden md:table-cell">Cache Read</th>
+ <th scope="col" className="py-2 px-2 font-medium text-right hidden md:table-cell">Cache Write</th>
+ <th scope="col" className="py-2 px-2 font-medium text-right">Tokens Out</th>
+ <th scope="col" className="py-2 pl-2 font-medium text-right">Est. API Cost</th>
</tr>
</thead>
<tbody>