MDL-30921 navigation: Added aria-role to the navbar content
This commit is contained in:
committed by
Sam Hemelryk
parent
537ba512e5
commit
27e3057838
@@ -2530,7 +2530,7 @@ EOD;
|
||||
|
||||
//accessibility: heading for navbar list (MDL-20446)
|
||||
$navbarcontent = html_writer::tag('span', get_string('pagepath'), array('class'=>'accesshide'));
|
||||
$navbarcontent .= html_writer::tag('ul', join('', $htmlblocks));
|
||||
$navbarcontent .= html_writer::tag('ul', join('', $htmlblocks), array('role'=>'navigation'));
|
||||
// XHTML
|
||||
return $navbarcontent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user