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

- Patch #841194 by David_Rothstein: overlay close button doesn't have a title in screen readers.

parent f83ac835
No related branches found
No related tags found
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
......@@ -72,9 +72,6 @@ html.js body {
#overlay-close:focus {
padding: 0;
}
#overlay-close span {
display: none;
}
/**
* Tabs on the overlay.
......
......@@ -27,7 +27,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><?php t('Close overlay'); ?></span></a>
<a id="overlay-close" href="#" class="overlay-close"><span class="element-invisible"><?php print t('Close overlay'); ?></span></a>
</div>
<?php if ($tabs): ?><ul id="overlay-tabs"><?php print render($tabs); ?></ul><?php endif; ?>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment