From b8a1cd43e7b8b3d589a1208ba8e5bb87d3b2ed19 Mon Sep 17 00:00:00 2001 From: Kat <00-kat@proton.me> Date: Mon, 23 Mar 2026 00:47:42 +1100 Subject: [PATCH] cmd/pkgserver: provide role descriptions for test nodes in web UI --- cmd/pkgserver/ui/static/test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/pkgserver/ui/static/test.ts b/cmd/pkgserver/ui/static/test.ts index 8afff6d3..f3c99c3e 100644 --- a/cmd/pkgserver/ui/static/test.ts +++ b/cmd/pkgserver/ui/static/test.ts @@ -306,8 +306,10 @@ export class DOMReporter implements Reporter { if (!child) { child = document.createElement("details"); child.className = "test-node"; + child.ariaRoleDescription = "test"; const summary = document.createElement("summary"); summary.appendChild(document.createTextNode(node)); + summary.ariaRoleDescription = "test name"; child.appendChild(summary); parent.appendChild(child); }