提交 a5412e6f 编写于 作者: I isidor

Tabs: set aria-description to empty string so that screen readers would not read the title as well

fixes #95378
上级 e3c58945
......@@ -1040,6 +1040,9 @@ export class TabsTitleControl extends TitleControl {
if (tabLabel.ariaLabel) {
tabContainer.setAttribute('aria-label', tabLabel.ariaLabel);
// Set aria-description to empty string so that screen readers would not read the title as well
// More details https://github.com/microsoft/vscode/issues/95378
tabContainer.setAttribute('aria-description', '');
}
tabContainer.title = title;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册