提交 588cbc86 编写于 作者: I isidor

Split view: use role button so the aria-expanded state gets read

https://github.com/microsoft/vscode/issues/95996
上级 badd41f0
......@@ -190,7 +190,8 @@ export abstract class Pane extends Disposable implements IView {
this.header = $('.pane-header');
append(this.element, this.header);
this.header.setAttribute('tabindex', '0');
this.header.setAttribute('role', 'toolbar');
// Use role button so the aria-expanded state gets read https://github.com/microsoft/vscode/issues/95996
this.header.setAttribute('role', 'button');
this.header.setAttribute('aria-label', this.ariaHeaderLabel);
this.renderHeader(this.header);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册