aboutsummaryrefslogtreecommitdiff
path: root/app/layout/nav_menu.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-15 21:57:37 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-15 21:57:37 +0200
commita0230ad70b0e1d5cef7423f101adeba1e1fe34b3 (patch)
tree293aca4f81227d9bcab44ee664868fc4f336c492 /app/layout/nav_menu.phtml
parentdc417cbffdd6e6d85036b165c77e276bf7bcfd8a (diff)
Minor HTML fixes
Fix aria bug. Move some content before the flush. XHTML syntax.
Diffstat (limited to 'app/layout/nav_menu.phtml')
-rw-r--r--app/layout/nav_menu.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml
index 17655acbf..488c6fdef 100644
--- a/app/layout/nav_menu.phtml
+++ b/app/layout/nav_menu.phtml
@@ -22,7 +22,7 @@
?>
<a id="toggle-<?php echo $state_str; ?>"
class="btn <?php echo $state_enabled ? 'active' : ''; ?>"
- aria-checked="<?php echo $state_enabled ? 'true' : 'false'; ?>"
+ role="checkbox" aria-checked="<?php echo $state_enabled ? 'true' : 'false'; ?>"
title="<?php echo _t('index.menu.' . $state_str); ?>"
href="<?php echo Minz_Url::display($url_state); ?>"><?php echo _i($state_str); ?></a>
<?php } ?>