提交 006f6aae 编写于 作者: I isidor

workbench: set role application on the layout element, not top level one

fixes #94847
上级 96b8ab43
......@@ -893,6 +893,7 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
);
this.container.prepend(workbenchGrid.element);
this.container.setAttribute('role', 'application');
this.workbenchGrid = workbenchGrid;
[titleBar, editorPart, activityBar, panelPart, sideBar, statusBar].forEach((part: Part) => {
......
......@@ -318,7 +318,6 @@ export class Workbench extends Layout {
// ARIA
setARIAContainer(this.container);
this.container.setAttribute('role', 'application');
// State specific classes
const platformClass = isWindows ? 'windows' : isLinux ? 'linux' : 'mac';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册