From d7154e7157f06818883c346ad8d8f57cacf8231b 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 d7d7d4c6..d176a2ee 100644 --- a/cmd/pkgserver/ui/static/test.ts +++ b/cmd/pkgserver/ui/static/test.ts @@ -314,8 +314,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); }