statusbar: put aria-label on label container not on parent

fixes #94962
This commit is contained in:
isidor 2020-04-16 17:53:46 +02:00
parent 77e79529e1
commit c6d841c90f

View file

@ -695,7 +695,7 @@ class StatusbarEntryItem extends Disposable {
}
if (!this.entry || entry.ariaLabel !== this.entry.ariaLabel) {
this.container.setAttribute('aria-label', entry.ariaLabel);
this.labelContainer.setAttribute('aria-label', entry.ariaLabel);
}
// Update: Tooltip (on the container, because label can be disabled)