add ariaLabel to IStatusbarEntry

fixes #94677
This commit is contained in:
isidor
2020-04-10 17:31:50 +02:00
parent 1ec9f9b72d
commit b7a9bfa7f9
14 changed files with 59 additions and 16 deletions

View File

@@ -26,7 +26,7 @@ export class MainThreadStatusBar implements MainThreadStatusBarShape {
}
$setEntry(id: number, statusId: string, statusName: string, text: string, tooltip: string | undefined, command: Command | undefined, color: string | ThemeColor | undefined, alignment: MainThreadStatusBarAlignment, priority: number | undefined): void {
const entry: IStatusbarEntry = { text, tooltip, command, color };
const entry: IStatusbarEntry = { text, tooltip, command, color, ariaLabel: text };
if (typeof priority === 'undefined') {
priority = 0;