提交 66c4bd5e 编写于 作者: J Joao Moreno

Revert "suggest: improve element aria label"

This reverts commit 42d3d542.
上级 e239a451
......@@ -134,7 +134,7 @@ class Renderer implements IRenderer<ICompletionItem, ISuggestionTemplateData> {
const suggestion = (<ICompletionItem>element).suggestion;
if (canExpandCompletionItem(element)) {
data.root.setAttribute('aria-label', nls.localize('suggestionWithDetailsAriaLabel', "{0}, suggestion, has details, press {1} to read more", suggestion.label, this.triggerKeybindingLabel));
data.root.setAttribute('aria-label', nls.localize('suggestionWithDetailsAriaLabel', "{0}, suggestion, has details", suggestion.label));
} else {
data.root.setAttribute('aria-label', nls.localize('suggestionAriaLabel', "{0}, suggestion", suggestion.label));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册