fix(actions): drop wrapper span around the action status icon (#38957)

Fixes https://github.com/go-gitea/gitea/issues/38955
This commit is contained in:
silverwind authored and GitHub committed 2026-08-17 22:46:49 +00:00
1 parent df71d5f5e2
commit 3842e021e0
3 files changed
+3 -4

No files matched your search

+1
View File
@@ -149,6 +149,7 @@ function attachLazyTooltip(el: HTMLElement): void {
let ariaLabelValue = content;
if (isHtml) ariaLabelValue = stripTags(content).replace(/\s+/g, ' ').trim();
el.setAttribute('aria-label', ariaLabelValue);
el.removeAttribute('aria-hidden');
}
}
}