Add `aria-hidden` to the web worker iframe (#147036)

This commit is contained in:
Alex Dima 2022-04-25 20:22:11 +02:00
parent 8a9b9c3a19
commit 33789227e0
No known key found for this signature in database
GPG Key ID: 39563C1504FDD0C9
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ export class WebWorkerExtensionHost extends Disposable implements IExtensionHost
const iframe = document.createElement('iframe');
iframe.setAttribute('class', 'web-worker-ext-host-iframe');
iframe.setAttribute('sandbox', 'allow-scripts allow-same-origin');
iframe.setAttribute('aria-hidden', 'true');
iframe.style.display = 'none';
const vscodeWebWorkerExtHostId = generateUuid();