? ? NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar RickR2H
RickR2H
9 Jun 2021

Summary of Changes

The breadcrumbs have the ARIA role="navigation", but this is unnecessary for nav elements. Also added a class to the breadcrumbs nav element for easy styling.

Testing Instructions

Look at the code of the breadcrumbs and see if the the role element is there. Apply the patch and check if the role element is gone and the class added.

Actual result BEFORE applying this Pull Request

breadcrumbs nav has role="navigation"

Expected result AFTER applying this Pull Request

breadcrumbs nav has no role="navigation" and has class="breadcrumbs-container"

Documentation Changes Required

No

avatar RickR2H RickR2H - open - 9 Jun 2021
avatar RickR2H RickR2H - change - 9 Jun 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jun 2021
Category Modules Front End
avatar sandramay0905 sandramay0905 - test_item - 9 Jun 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 9 Jun 2021

I have tested this item successfully on 3ef4a33


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

avatar infograf768
infograf768 - comment - 9 Jun 2021

Looks fine.
Other places concerned, first one concerns media breadcrumbs

joomla40/administrator/components/com_media/resources/scripts/components/breadcrumb/breadcrumb.vue:4:     role="navigation"

joomla40/layouts/joomla/pagination/links.php:56: 	<nav role="navigation" aria-label="<?php echo Text::_('JLIB_HTML_PAGINATION'); ?>">

joomla40/layouts/joomla/pagination/list.php:17: <nav role="navigation" aria-label="<?php echo Text::_('JLIB_HTML_PAGINATION'); ?>">

joomla40/libraries/vendor/codeception/codeception/ext/Recorder.php:139:         <nav class="navbar navbar-expand-lg navbar-light bg-light" role="navigation">

joomla40/libraries/vendor/codeception/codeception/ext/Recorder.php:219:     <nav class="navbar navbar-expand-lg navbar-light bg-light" role="navigation">
avatar RickR2H
RickR2H - comment - 9 Jun 2021

@infograf768 Thanks for the search! Made some changes to the mentioned files. The only problem is that joomla40/libraries/vendor/codeception/codeception/ext/Recorder.php is excluded from the repo. I don't know how to add this to the code. Can you help?

avatar RickR2H RickR2H - change - 9 Jun 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jun 2021
Category Modules Front End Administration com_media NPM Change Layout Modules Front End
avatar infograf768
infograf768 - comment - 9 Jun 2021

codeception is third party. I guess the only way would be to propose a patch https://github.com/codeception/codeception/issues. The rest is fine.

avatar hans2103 hans2103 - test_item - 9 Jun 2021 - Tested successfully
avatar hans2103
hans2103 - comment - 9 Jun 2021

I have tested this item successfully on 5f39e00


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

avatar RickR2H
RickR2H - comment - 9 Jun 2021

@infograf768 I also added a PR to codeception.

avatar brianteeman
brianteeman - comment - 9 Jun 2021

for future reference creating a nav with a role=navigation used to be needed for browsers that did not support html5

avatar brianteeman
brianteeman - comment - 9 Jun 2021

For new specific classes it would be best if you adopted BEM naming convention. There is a good explanation here #32267

avatar RickR2H
RickR2H - comment - 9 Jun 2021

For new specific classes it would be best if you adopted BEM naming convention. There is a good explanation here #32267

@brianteeman I agree! But the child element of nav has already the Block Element Class. If the previous implementation was done right, the nav should have the Block Element Class. Not the first child. Me not trying to mess up the styling of the template, I implemented a container class.

avatar sandramay0905 sandramay0905 - test_item - 9 Jun 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 9 Jun 2021

I have tested this item successfully on 5f39e00


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

avatar richard67 richard67 - change - 9 Jun 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 9 Jun 2021

RTC


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

avatar RickR2H RickR2H - change - 10 Jun 2021
Labels Added: NPM Resource Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jun 2021
Category Modules Front End Administration com_media NPM Change Layout Repository Administration com_media NPM Change Layout Modules Front End
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jun 2021
Category Modules Front End Administration com_media NPM Change Layout Repository Repository Administration com_admin SQL Postgresql MS SQL com_banners com_config com_finder com_languages com_media NPM Change com_search Language & Strings Front End External Library Composer Change
avatar richard67
richard67 - comment - 10 Jun 2021

@RickR2H It seems you have merged the staging branch into the branch for this PR, so this PR now changes more than it should. That was wrong. Please revert, or maybe it's easier if you make a new PR.

avatar RickR2H
RickR2H - comment - 10 Jun 2021

@richard67 Sorry my mistake! Was working in the wrong branch.

avatar RickR2H RickR2H - change - 10 Jun 2021
Labels Added: ? ? ?
Removed: ?
avatar richard67
richard67 - comment - 10 Jun 2021

@RickR2H It's still wrong because the other commit "update" after the merge of staging was wrong, too. Your PR had 2 good tests and was RTC and so should not have been touched further.

avatar richard67 richard67 - change - 10 Jun 2021
Status Ready to Commit Pending
avatar richard67
richard67 - comment - 10 Jun 2021

Back to pending as the branch of this PR has received new, wrong commits.


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

avatar RickR2H
RickR2H - comment - 10 Jun 2021

@richard67 I'll create a new PR. That's quicker

avatar RickR2H
RickR2H - comment - 10 Jun 2021

Closed this PR due to merging errors. Opened a new PR #34483

avatar RickR2H RickR2H - change - 10 Jun 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-06-10 07:52:19
Closed_By RickR2H
Labels Removed: ?
avatar RickR2H RickR2H - close - 10 Jun 2021

Add a Comment

Login with GitHub to post a comment