The help button on the toolbar opens in a new window. To satisfy the accessibility rules there should be both a visible and audible notification of this.
There is no option to enable passing the required notification to the button
Labels |
Added:
?
|
Labels |
Added:
J4 Issue
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-11-08 13:17:47 |
Closed_By | ⇒ | brianteeman |
Status | Closed | ⇒ | New |
Closed_Date | 2018-11-08 13:17:47 | ⇒ | |
Closed_By | brianteeman | ⇒ |
For users using screenreaders this could be addressed by adding the text inside a sr-only span
<joomla-toolbar-button id="toolbar-help">
<button class="button-help btn btn-info" type="button" onclick="Joomla.popupWindow('https://help.joomla.org/proxy?keyref=Help40:Content_Article_Manager&lang=en', 'Help', 700, 500, 1)">
<span class="fa fa-question" aria-hidden="true"></span>
Help
<span class="sr-only">Opens in a new window</span>
</button>
</joomla-toolbar-button>
For sighted users we can simply use the title attribute so the full markup would be
<joomla-toolbar-button id="toolbar-help">
<button class="button-help btn btn-info" type="button" onclick="Joomla.popupWindow('https://help.joomla.org/proxy?keyref=Help40:Content_Article_Manager&lang=en', 'Help', 700, 500, 1)"
title="Opens in a new window">
<span class="fa fa-question" aria-hidden="true"></span>
Help
<span class="sr-only">Opens in a new window</span>
</button>
</joomla-toolbar-button>
Instead of using the title we could use the fa-external-link icon like on the admin login screen but in this case I think it would not be clear
@brianteeman in which file should the above code has to go ?
If I knew that I would have done it myself :)
Is there any thing remains to be changed @bembelimen as I think the above file already has the code as suggested by @brianteeman
@hardik-codes no it doesn't. if it did then there wouldnt be an issue to fix :)
Working on it
Status | New | ⇒ | Discussion |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-09 11:09:44 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_By | joomla-cms-bot | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/22544
Status | Closed | ⇒ | New |
Closed_Date | 2019-03-09 11:09:44 | ⇒ | |
Closed_By | franz-wohlkoenig | ⇒ |
Status | New | ⇒ | Pending |
Closed_Date | 0000-00-00 00:00:00 | ⇒ |
Set to "open" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/22544
Labels |
Added:
?
|
Title |
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-11 11:17:58 |
Closed_By | ⇒ | franz-wohlkoenig |
Do you have a link/code snippet how this should look like?