Fix ARIA for Editor/preview tabs.

This commit is contained in:
El RIDO 2020-02-04 18:29:14 +01:00
parent 347e7e03e1
commit 87423abd7c
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -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>