Log in the frontend.
Log in the backend.
Go to Control Panel.
Move cursor over the red X button.
See 2 tooltips with different spellings.
Which one to use? Do we need both tooltips? If no, should the one in the span
tag be removed?
In \administrator\modules\mod_logged\tmpl\default.php:
<?php if ($user->client_id == 0) : ?>
<a title="<?php echo JHtml::_('tooltipText', 'MOD_LOGGED_LOGOUT'); ?>" href="<?php echo $user->logoutLink; ?>" class="btn btn-danger btn-mini hasTooltip">
<span class="icon-remove icon-white" title="<?php echo JText::_('JLOGOUT'); ?>"></span>
</a>
<?php endif; ?>
Labels |
Added:
?
|
@brianteeman addingaria-hidden="true"
doesn't seem to work. So, i removed title from thespan
tag as removing span itself hampers "cross" icon appearance.
That should work.
aria-hidden=true is needed to prevent screenreaders reading out the value of the icon font.
closing here as we have a PR
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-03-29 08:26:14 |
Closed_By | ⇒ | brianteeman |
The one in the span should be changed to aria-hidden