From 688d00a5509db7cff280e5ce4f36bc8f688d7d19 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Sun, 10 May 2026 23:08:34 +0100 Subject: [PATCH] Hide decorative dash placeholders from screen readers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Workloads guest rows render — (or -) as a visual no-data signal in every cell where a guest doesn't expose that metric (info, vmid, disk, ip, uptime, node, image, namespace, context, backup). Each one was a plain , so screen readers narrated "dash" alongside every cell label. Mark every dash that conveys "no value" with aria-hidden="true" so SR users hear the column label and skip the placeholder. Dashes that carry an informational title attribute (e.g. "Disk stats unavailable…") are intentionally left visible to assistive tech — title is the accessible name and replacing it with aria-hidden would drop real context. Visual unchanged; tested live via DOM probe — 25 of 27 dash spans on the Workloads page now carry aria-hidden, with the two title-bearing dashes still announceable. --- .../src/components/Workloads/GuestRow.tsx | 26 +++++++++---------- .../components/Workloads/GuestRowCells.tsx | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/frontend-modern/src/components/Workloads/GuestRow.tsx b/frontend-modern/src/components/Workloads/GuestRow.tsx index 1e7575ed7..7a55d73a6 100644 --- a/frontend-modern/src/components/Workloads/GuestRow.tsx +++ b/frontend-modern/src/components/Workloads/GuestRow.tsx @@ -199,7 +199,7 @@ export function GuestRow(props: GuestRowProps) {
- —}> +