Enhance CI Status Widget: Add aria-label for accessibility and remove unnecessary CSS property

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
mrleemurray
2026-03-31 14:55:09 +01:00
parent 0fbb436619
commit a29a7d7c22
2 changed files with 1 additions and 1 deletions

View File

@@ -230,6 +230,7 @@ export class CIStatusWidget extends Disposable {
this._chevronNode.classList.add(...ThemeIcon.asClassNameArray(Codicon.chevronDown));
this._headerNode.setAttribute('role', 'button');
this._headerNode.setAttribute('aria-label', localize('ci.toggleChecks', "Toggle PR Checks"));
this._headerNode.setAttribute('aria-expanded', 'true');
this._headerNode.tabIndex = 0;

View File

@@ -15,7 +15,6 @@
/* Header */
.ci-status-widget-header {
position: relative;
display: flex;
align-items: center;
gap: 6px;