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

- Patch #821646 by David_Rothstein: dashboard prints the search form title...

- Patch #821646 by David_Rothstein: dashboard prints the search form title twice on the page (can confuse screen reader users).
parent 57b1af03
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
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
*/ */
?> ?>
<div class="container-inline"> <div class="container-inline">
<?php if (empty($variables['form']['#block']->title)) : ?> <?php if (empty($variables['form']['#block']->subject)) : ?>
<h2 class="element-invisible"><?php print t('Search form'); ?></h2> <h2 class="element-invisible"><?php print t('Search form'); ?></h2>
<?php endif; ?> <?php endif; ?>
<?php print $search_form; ?> <?php print $search_form; ?>
......
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