?
avatar Quy
Quy
27 Mar 2017

Steps to reproduce the issue

loggedinusers

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; ?>
avatar Quy Quy - open - 27 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - change - 27 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Mar 2017
avatar brianteeman
brianteeman - comment - 27 Mar 2017

The one in the span should be changed to aria-hidden

avatar nileshprasad137
nileshprasad137 - comment - 29 Mar 2017

@brianteeman addingaria-hidden="true"doesn't seem to work. So, i removed title from thespantag as removing span itself hampers "cross" icon appearance.
That should work.

avatar brianteeman
brianteeman - comment - 29 Mar 2017

aria-hidden=true is needed to prevent screenreaders reading out the value of the icon font.

closing here as we have a PR

avatar brianteeman brianteeman - change - 29 Mar 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-03-29 08:26:14
Closed_By brianteeman
avatar brianteeman brianteeman - close - 29 Mar 2017

Add a Comment

Login with GitHub to post a comment