mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Accessibility: function _title_html, replaced <div> with H2, enclosed <div> to <span> - now validates! weblib.php: function side_block_start.
This commit is contained in:
parent
02db7f7a02
commit
d455cd04e9
@ -4366,9 +4366,8 @@ function print_side_block_start($heading='', $attributes = array()) {
|
||||
|
||||
echo '<div '.$attrtext.'>';
|
||||
if ($heading) {
|
||||
//TODO (nfreear): Accessibility: <div> not valid inside <h2>.
|
||||
echo '<div class="header">'.$heading.'</div>';
|
||||
///echo '<h2 class="header">'.$heading.'</h2>';
|
||||
//Accessibility: replaced <div> with H2 - required mods, moodleblock.class.php:_title_html
|
||||
echo '<h2 class="header">'.$heading.'</h2>';
|
||||
}
|
||||
echo '<div class="content">';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user