From 3b1b9c71f9faaf49e756fe4d05078fc0db0b4dac Mon Sep 17 00:00:00 2001 From: catch Date: Thu, 19 Apr 2012 12:04:09 +0900 Subject: [PATCH] Issue #1183042 by mgifford: Follow up for Add WAI-ARIA roles to Core blocks. --- core/modules/help/help.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/help/help.module b/core/modules/help/help.module index 9e747517955..e4899a05b02 100644 --- a/core/modules/help/help.module +++ b/core/modules/help/help.module @@ -69,7 +69,7 @@ function help_help($path, $arg) { * Implements hook_preprocess_block(). */ function help_preprocess_block(&$variables) { - if ($variables['block']->module == 'help') { + if ($variables['block']->module == 'system' && $variables['block']->delta == 'help') { $variables['attributes_array']['role'] = 'complementary'; } }