summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-04-11 17:09:43 (GMT)
committerAlex Pott2013-04-11 17:09:43 (GMT)
commit31618908e4ebae62ab7e4f5311d575bdfd9862b6 (patch)
tree0347e2ac15cddf63c39d6ceb567171d95fac94c6
parentbc8686e5919636db24672155a220123370fb17a1 (diff)
Issue #1964880 by falcon03 | jessebeach: Convert the Overlay close button from an anchor element to a button element.
-rw-r--r--core/modules/overlay/templates/overlay.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/overlay/templates/overlay.tpl.php b/core/modules/overlay/templates/overlay.tpl.php
index 38e6664..2b342ba 100644
--- a/core/modules/overlay/templates/overlay.tpl.php
+++ b/core/modules/overlay/templates/overlay.tpl.php
@@ -28,7 +28,7 @@
<h1 id="overlay-title"<?php print $title_attributes; ?>><?php print $title; ?></h1>
</div>
<div id="overlay-close-wrapper">
- <a id="overlay-close" href="#" class="overlay-close"><span class="element-invisible"><?php print t('Close overlay'); ?></span></a>
+ <a id="overlay-close" href="#" class="overlay-close" role="button" aria-controls="overlay-content"><span class="element-invisible"><?php print t('Close overlay'); ?></span></a>
</div>
<?php if ($tabs): ?><h2 class="element-invisible"><?php print t('Primary tabs'); ?></h2><ul id="overlay-tabs"><?php print render($tabs); ?></ul><?php endif; ?>
</div>