a11y ? ? ? Pending

User tests: Successful: Unsuccessful:

avatar chmst
chmst
7 Sep 2021

Pull Request for Issue # .

Summary of Changes

This pr checks if the text on the readme button is visible in ful length. If yes, the aria-label is redundant and not displayed.

Testing Instructions

Test wit different settings for readmore buttons: With and without titile, with own text, with and without a fixed number for the length.
Inspect then a readmore-button.

Actual result BEFORE applying this Pull Request

If the text on the readmore button shows the full title of the article, aria-label and button text are the same

grafik

Expected result AFTER applying this Pull Request

If the text on the readmore button shows the full title of the article, there is no aria-label

Documentation Changes Required

avatar chmst chmst - open - 7 Sep 2021
avatar chmst chmst - change - 7 Sep 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2021
Category Layout
avatar chmst chmst - change - 7 Sep 2021
Labels Added: ? a11y
avatar chmst
chmst - comment - 7 Sep 2021

Fixed string for comparision, thanks @ChristineWk

avatar ChristineWk ChristineWk - test_item - 7 Sep 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 7 Sep 2021

I have tested this item successfully on cf197e6

Now it's OK :-)


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

avatar brianteeman
brianteeman - comment - 7 Sep 2021

This change is not really needed. It doesn't solve a problem

avatar ChristineWk ChristineWk - test_item - 8 Sep 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 8 Sep 2021

I have tested this item successfully on da91076


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

avatar khu5h1 khu5h1 - test_item - 13 Nov 2021 - Tested successfully
avatar khu5h1
khu5h1 - comment - 13 Nov 2021

I have tested this item successfully on da91076


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

avatar richard67 richard67 - change - 14 Nov 2021
Status Pending Needs Review
avatar richard67
richard67 - comment - 14 Nov 2021

@chmst Please check the review comment by Phil. I think he is right and the title needs to be escaped $this->escape($item->title) in line 41.


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

avatar chmst chmst - change - 20 Nov 2021
Labels Added: ?
avatar ChristineWk ChristineWk - test_item - 20 Nov 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 20 Nov 2021

I have tested this item successfully on b6b12aa


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

avatar richard67 richard67 - change - 20 Nov 2021
Status Needs Review Pending
avatar richard67
richard67 - comment - 20 Nov 2021

From "needs review" back to "pending" in the issue tracker.


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

avatar chmst chmst - change - 31 Jan 2022
Labels Removed: ?
avatar Quiviro
Quiviro - comment - 13 May 2022

I have tested this item ? unsuccessfully on ded6b69

https://imgur.com/YbnZ5qkl.png

If I set a custom text for the button, the aria label still exists. With default settings for "view more" button, the patch does work.


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

avatar Quiviro Quiviro - test_item - 13 May 2022 - Tested unsuccessfully
avatar HLeithner
HLeithner - comment - 27 Jun 2022

This pull request has automatically rebased to 4.2-dev.

avatar joomla-bot
joomla-bot - comment - 27 Jun 2022

This pull requests has been automatically converted to the PSR-12 coding standard.

avatar chmst chmst - change - 21 Oct 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-10-21 15:49:51
Closed_By chmst
Labels Added: ? ? ?
Removed: ?
avatar chmst chmst - close - 21 Oct 2022

Add a Comment

Login with GitHub to post a comment