-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.9][a11y] Add landmark to breadcrumbs #23691
Conversation
I have tested this item ✅ successfully on 7bf3f2f
Personally, I am against entering a role attribute. But because we did this in other cases (e.g. in the pagination.php file), let it stay. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23691. |
Sorry but you don't actually understand what the text you are quoting refers to. The nav element is not exposed in the accessibility tree with internet explorer. What you are seeing is that NVDA (and perhaps other screen readers have written a workaround to this IE bug) See nvaccess/nvda#6044 This only means that an NVDA and IE11 user is helped. It doesn't fix the bug in IE11 which we have no way of knowing if other assistive technology has their own work around. So the correct conclusion is to have the role so that ALL users of assistive technology and IE 11 are covered. We only support specific browsers. We do not support specific assistive technology |
I am sorry. I don't know why you assume that I don't understand something. Maybe it' s you who don't understand something? |
Sorry I can't help it if you don't understand the difference between the html 5 specification and the browsers implementation of it and it's the accessibility html5 mapping specification aka html-aam |
@brianteeman believe me, I understand. |
This PR adds a feature and may break existing templates without overrides, so this will likely not go into J3. There is already a J4 PR for this #23685 correct. |
@HLeithner |
This PR adds a NAV-tag around the UL-tag and this can break templates. |
Yes which is why I wrote what I wrote |
Maybe break less but why can't it be added to the UL? |
it can be but it would be invalid html |
|
<?php endif; | ||
endforeach; ?> | ||
</ul> | ||
</nav> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
</nav> | |
</div> |
Co-Authored-By: wojsmol <wojsmol@wp.pl>
I have tested this item ✅ successfully on f57389c This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23691. |
I have tested this item 🔴 unsuccessfully on f57389c This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23691. |
@zwiastunsw how did you successfully test - the markup is wrong |
Yes, my mistake. |
@brianteeman @zwiastunsw Issue fixed 😄 |
I have tested this item ✅ successfully on ede34b4 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23691. |
I have tested this item ✅ successfully on ede34b4 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23691. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23691. |
@HLeithner Please merge this PR, |
I requested a different change that seams not to be vaild, thats the reason I didn't merged it. |
@HLeithner This PR now adapt changes suggested ny @brianteeman in #23691 (comment) see https://github.com/joomla/joomla-cms/pull/23691/files?utf8=%E2%9C%93&diff=unified&w=1 |
I merge it anyway, thx |
Pull Request for Issue # .
Summary of Changes
Testing Instructions
Similar to PR #23685 for Joomla 4.
Expected result
The 'nav' tag defines one of the main landmarks of the page, and the aria-label attribute makes it possible to distinguish this landmark from other navigation points, e.g. general menu.
Landmarks are supported by assistive technologies. Users of screen readers use them as one of the navigation systems on the page.
Actual result
Assistive technology does not recognize the breadcrumb as a landmark.
Documentation Changes Required
In the Help screens
Include information that the title of the module is used as a label for assistive technologies, so it should be translated (since the title of this module is not displayed, administrators often leave it in English).