From 4385922bb8a7264a0480baf6a6f03a473619ab57 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 e3506515..7d3b91d0 100644 --- a/cmd/pkgserver/ui/static/test.ts +++ b/cmd/pkgserver/ui/static/test.ts @@ -316,8 +316,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); }