diff --git a/src/vs/workbench/browser/workbench.ts b/src/vs/workbench/browser/workbench.ts index f55ecabf84547..9b8dddb1b519d 100644 --- a/src/vs/workbench/browser/workbench.ts +++ b/src/vs/workbench/browser/workbench.ts @@ -132,9 +132,6 @@ export class Workbench extends Layout { // Configure emitter leak warning threshold setGlobalLeakWarningThreshold(175); - // ARIA - setARIAContainer(document.body); - // Services const instantiationService = this.initServices(this.serviceCollection); @@ -322,6 +319,7 @@ export class Workbench extends Layout { private renderWorkbench(instantiationService: IInstantiationService, notificationService: NotificationService, storageService: IStorageService, configurationService: IConfigurationService): void { // ARIA + setARIAContainer(this.container); this.container.setAttribute('role', 'application'); // State specific classes