We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 956dad7 commit 77182f1Copy full SHA for 77182f1
packages/html/src/components/media-popover.ts
@@ -384,7 +384,8 @@ function createFocusGuard(dataType: 'inside' | 'outside'): HTMLElement {
384
const focusGuard = document.createElement('span');
385
focusGuard.setAttribute('data-type', dataType);
386
focusGuard.setAttribute('tabindex', '0');
387
- focusGuard.toggleAttribute('data-focus-guard', true);
+ focusGuard.setAttribute('data-focus-guard', '');
388
+ focusGuard.setAttribute('aria-hidden', 'true');
389
focusGuard.style.cssText = visuallyHiddenStyles;
390
return focusGuard;
391
}
0 commit comments