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
1 changed files with 3 additions and 3 deletions

View File

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