提交 695564ec 编写于 作者: D Daniel Imms

Merge remote-tracking branch 'origin/main' into tyriar/116113

{
"name": "code-oss-dev",
"version": "1.60.0",
"distro": "a738c358d85839bd0347481c2a3b636d7461b95e",
"distro": "8a46e44036ace8089e2e1bc6c1af11dad15825b1",
"author": {
"name": "Microsoft Corporation"
},
......
......@@ -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 };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册