? Pending

User tests: Successful: Unsuccessful:

avatar wojsmol
wojsmol
6 Jul 2018

Pull Request for Issue #20992

Summary of Changes

The links in the Quickicon module are assigned the role=button attribute. This is incorrect. These are not buttons. These are the links that open new pages

Testing Instructions

code review

Expected result

The links in the Quickicon module are not assigned the role=button attribute.

Actual result

The links in the Quickicon module are assigned the role=button attribute.

Documentation Changes Required

N/A

cc @zwiastunsw @chmst please test

avatar wojsmol wojsmol - open - 6 Jul 2018
avatar wojsmol wojsmol - change - 6 Jul 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Jul 2018
Category Layout
avatar wojsmol wojsmol - change - 6 Jul 2018
Title
Remove incorrect role attribute
[4.0][a11y]Remove incorrect role attribute
avatar wojsmol wojsmol - edited - 6 Jul 2018
avatar wojsmol wojsmol - change - 6 Jul 2018
The description was changed
avatar wojsmol wojsmol - edited - 6 Jul 2018
avatar chmst
chmst - comment - 6 Jul 2018

I have tested this item successfully on c27297c

After inspecting the code - this is correct, as the quick icons are links.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20998.

avatar chmst chmst - test_item - 6 Jul 2018 - Tested successfully
avatar zwiastunsw
zwiastunsw - comment - 6 Jul 2018

I have tested this item successfully on c27297c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20998.

avatar zwiastunsw zwiastunsw - test_item - 6 Jul 2018 - Tested successfully
avatar wojsmol
wojsmol - comment - 6 Jul 2018

Thank you for testing @zwiastunsw @chmst

avatar SharkyKZ
SharkyKZ - comment - 6 Jul 2018

Based on the code, the link could have onclick in which case it could act as a button. Maybe append role to onclick?
$onclick = empty($displayData['onclick']) ? '' : (' onclick="' . $displayData['onclick'] . '" role="button"');

avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Jul 2018
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Jul 2018

Ready to Commit after two successful tests.

avatar wilsonge wilsonge - change - 10 Jul 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-07-10 14:48:38
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 10 Jul 2018
avatar wilsonge wilsonge - merge - 10 Jul 2018
avatar wilsonge
wilsonge - comment - 10 Jul 2018

Thanks!

Add a Comment

Login with GitHub to post a comment