Skip to content

Commit c6d841c

Browse files
committed
statusbar: put aria-label on label container not on parent
fixes #94962
1 parent 77e7952 commit c6d841c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/browser/parts/statusbar/statusbarPart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ class StatusbarEntryItem extends Disposable {
695695
}
696696

697697
if (!this.entry || entry.ariaLabel !== this.entry.ariaLabel) {
698-
this.container.setAttribute('aria-label', entry.ariaLabel);
698+
this.labelContainer.setAttribute('aria-label', entry.ariaLabel);
699699
}
700700

701701
// Update: Tooltip (on the container, because label can be disabled)

0 commit comments

Comments
 (0)