From ff0cff04888d02c1b6dda639905e899e41d54f7a 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 794c4845..634d0e48 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); }