Commit 3b1b9c71 authored by catch's avatar catch

Issue #1183042 by mgifford: Follow up for Add WAI-ARIA roles to Core blocks.

parent a384eb48
......@@ -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';
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment