forked from rosa/hakurei
cmd/pkgserver: provide role descriptions for test nodes in web UI
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user