]> git.mjollnir.org Git - moodle.git/commitdiff
Ongoing, fix bug 5400, DIV to H1, to improve semantics. Merged from MOODLE_16_STABLE.
authornfreear <nfreear>
Fri, 19 May 2006 13:30:25 +0000 (13:30 +0000)
committernfreear <nfreear>
Fri, 19 May 2006 13:30:25 +0000 (13:30 +0000)
theme/standardlogo/header.html

index 2381383034d0d90b5abe14404c733fc4e7a658ce..6d94d8365393ff4b2de2087ecda3dbbf204c0d24 100644 (file)
       //Accessibility: warning: ALT text will need editing if logo changes.
 ?>
     <div id="header-home">
-        <div class="headermain"><img alt="Moodle" src="<?php echo $standardlogo ?>" /></div>
+        <h1 class="headermain"><img alt="Moodle" src="<?php echo $standardlogo ?>" /></h1>
         <div class="headermenu"><?php echo $menu ?></div>
     </div>
 <?php } else if ($heading) {  // This is what gets printed on any other page with a heading 
 ?>
     <div id="header">
-        <div class="headermain"><?php echo $heading ?></div>
+        <h1 class="headermain"><?php echo $heading ?></h1>
         <div class="headermenu"><?php echo $menu ?></div>
     </div>
 <?php } ?>