Implements hook_preprocess_HOOK() for block.tpl.php.
function book_preprocess_block(&$variables) { if ($variables['block']->module == 'book') { $variables['attributes']['role'] = 'navigation'; } }