Commit c90c201e authored by Dries's avatar Dries
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
......@@ -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>';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment