From 7c8c347058fe8a42b82ae01c2677c1caead8b3f5 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Sat, 18 Dec 2010 01:14:36 +0000 Subject: [PATCH] - Patch #821646 by David_Rothstein: dashboard prints the search form title twice on the page (can confuse screen reader users). --- modules/search/search-block-form.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/search/search-block-form.tpl.php b/modules/search/search-block-form.tpl.php index d306815e6c92..6da610a53ac5 100644 --- a/modules/search/search-block-form.tpl.php +++ b/modules/search/search-block-form.tpl.php @@ -34,7 +34,7 @@ */ ?> <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> <?php endif; ?> <?php print $search_form; ?> -- GitLab