User tests: Successful: Unsuccessful:
It is a a11y issue if links are used instead of buttons.
In admin module mod_logged, the button to log out a user is now a button, not a link.
It is implemented as a form.
You must have at least one - or better several - user(s) logged in in frontend.
Open the cpanel, the logged_in users are visible and each of them has a "logout" button.
Have a look in the sourcecode and control this via axe and with keyboard and screenreader.
The buttons are accessible. When the admin activates one of the buttons, the respective user is logged out in the frontend.
The buttons is a link with role="button" and therefore not a11y. When the administrator activates one of the buttons, the respective user is logged out in the frontend.
no
Status | New | ⇒ | Pending |
Category | ⇒ | Modules Administration |
Labels |
Added:
?
|
Previous commit removed too much code. Only need to remove 2 lines containing logoutLink
.
I have tested this item
Accessibility: OK
In my opinion, there is no need for an X sign. Unnecessary piece of code. It does not bring any new information.
PS. Shouldn't there be a "Force logout" label?
@zwiastunsw could you repeat the test?
I agree with your proposal to remove the icon,.
But at the moment I do not want to add another Language Key to the system.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-01-29 22:27:58 |
Closed_By | ⇒ | rdeutz | |
Labels |
Added:
?
|
Remove helper code related to
logoutLink
? Or use it in form action?joomla-cms/administrator/modules/mod_logged/Helper/LoggedHelper.php
Lines 62 to 67 in 96bcefc