Skip to content

Commit

Permalink
accessibilty: move aria container to belong to the workbench
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Mar 25, 2020
1 parent 1a3c7f8 commit 9d4faea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/vs/workbench/browser/workbench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9d4faea

Please sign in to comment.