mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-02 00:09:30 +01:00
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:
@@ -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;
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
/* Header */
|
||||
.ci-status-widget-header {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
|
||||
Reference in New Issue
Block a user