提交 a6050940 编写于 作者: I isidor

statusBar items use role 'button'

fixes #99042
上级 9f640d4e
......@@ -738,6 +738,7 @@ class StatusbarEntryItem extends Disposable {
// Label Container
this.labelContainer = document.createElement('a');
this.labelContainer.tabIndex = -1; // allows screen readers to read title, but still prevents tab focus.
this.labelContainer.setAttribute('role', 'button');
// Label
this.label = new CodiconLabel(this.labelContainer);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册