diff --git a/src/runtime/internal/dom.ts b/src/runtime/internal/dom.ts index 28e423d50e..bf8fc1f5a0 100644 --- a/src/runtime/internal/dom.ts +++ b/src/runtime/internal/dom.ts @@ -267,6 +267,7 @@ export function add_resize_listener(node: HTMLElement, fn: () => void) { `display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ` + `overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: ${z_index};` ); + iframe.setAttribute('aria-hidden', 'true'); iframe.tabIndex = -1; let unsubscribe: () => void;