diff --git a/jquery.popupoverlay.js b/jquery.popupoverlay.js index 762b435..da3fca5 100644 --- a/jquery.popupoverlay.js +++ b/jquery.popupoverlay.js @@ -383,7 +383,9 @@ }, options.focusdelay); // Hide main content from screen readers - $(options.pagecontainer).attr('aria-hidden', true); + if (options.keepfocus) { + $(options.pagecontainer).attr('aria-hidden', true); + } // Reveal popup content to screen readers $el.attr('aria-hidden', false);