This commit is contained in:
isidor 2021-08-12 15:34:22 +02:00
parent 1fd7873cee
commit 87d19b4207
No known key found for this signature in database
GPG key ID: F9280366A8370105

View file

@ -37,6 +37,10 @@ export class MainThreadStatusBar implements MainThreadStatusBarShape {
role = accessibilityInformation.role;
} else {
ariaLabel = getCodiconAriaLabel(text);
if (tooltip) {
const tooltipString = typeof tooltip === 'string' ? tooltip : tooltip.value;
ariaLabel += `, ${tooltipString}`;
}
}
const entry: IStatusbarEntry = { name, text, tooltip, command, color, backgroundColor, ariaLabel, role };