Просмотр исходного кода

Fix ARIA for Editor/preview tabs.

El RIDO 6 лет назад
Родитель
Сommit
87423abd7c
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      tpl/bootstrap.php

+ 3 - 3
tpl/bootstrap.php

@@ -518,8 +518,8 @@ endif;
 ?>
 				</div>
 				<ul id="editorTabs" class="nav nav-tabs hidden">
-					<li role="presentation" class="active"><a id="messageedit" href="#"><?php echo I18n::_('Editor'); ?></a></li>
-					<li role="presentation"><a id="messagepreview" href="#"><?php echo I18n::_('Preview'); ?></a></li>
+					<li role="presentation" class="active"><a role="tab" aria-selected="true" aria-controls="editorTabs" id="messageedit" href="#"><?php echo I18n::_('Editor'); ?></a></li>
+					<li role="presentation"><a role="tab" aria-selected="false" aria-controls="editorTabs" id="messagepreview" href="#"><?php echo I18n::_('Preview'); ?></a></li>
 					<li role="presentation" class="pull-right">
 <?php
 if ($isPage):
@@ -591,4 +591,4 @@ if ($FILEUPLOAD):
 endif;
 ?>
 	</body>
-</html>
+</html>