Skip to content
Snippets Groups Projects
Commit c90c201e authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #716612 by Everett Zufelt, casey: another step twoards making the...

- Patch #716612 by Everett Zufelt, casey: another step twoards making the overlay (more) accessible to screen reader users.
parent 0c49d579
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -816,14 +816,14 @@ Drupal.overlay.getDisplacement = function (region) {
* Theme function to create the overlay iframe element.
*/
Drupal.theme.prototype.overlayContainer = function () {
return '<div id="overlay-container" role="dialog"><div class="overlay-modal-background"></div></div>';
return '<div id="overlay-container"><div class="overlay-modal-background"></div></div>';
};
/**
* Theme function to create an overlay iframe element.
*/
Drupal.theme.prototype.overlayElement = function (url) {
return '<iframe class="overlay-element" frameborder="0" scrolling="auto" allowtransparency="true" role="document"></iframe>';
return '<iframe class="overlay-element" frameborder="0" scrolling="auto" allowtransparency="true"></iframe>';
};
})(jQuery);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment