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
[Open Source Fridays] Accessibility enhancement for the top navbar while using screen readers #13674
base: 5.x
Are you sure you want to change the base?
[Open Source Fridays] Accessibility enhancement for the top navbar while using screen readers #13674
Conversation
this fix ensures <meta name="viewport"> does not disable text scaling and zooming
I need help to rewrite this:
So I can use |
Every thing works as you have described in the PR, but there are some few things I believe are not meant to behave the way they do, like I have demonstrated in the image above. In the case of the clog Icon to open the right-side panel my screen reader does not pronounce the Icon properly, its like its trying to pronounce two words at the same time then it ends up not making any sense . I logged in as an admin when I navigate to the admin in the header it does not give any info on the profile, you can look at the image for the info my screen reader gives. |
And concerning the code above what if you implement it as shown below {{ buttonsRender(
(
'<button type="button" class="btn btn-default btn-nospin dropdown-toggle" data-toggle="dropdown" aria-expanded="false" aria-haspopup="true" id="dropdownMenuButton" aria-label="{{ 'mautic.core.dropdown.accessibility_label'|trans }}"><i class="ri-arrow-down-s-line"></i></button>\n'
~ '<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenuButton">'
),
'</ul>'
)|raw }} |
Thank you for taking the time to review it! While my pull request primarily addresses the top navbar, I'm aware that the sidebars still pose a challenge. However, I'm confident that I'll be able to address this issue soon! Regarding the code, I did attempt to implement your suggestion but the function includes a raw property that disregards certain functions like the translation string... so yeah, probably needs to rewrite the entire function |
Description:
This PR enhances user experience for people with screen readers. Specifically:
<li>
) within the navigation bar do not interrupt the flow of the screen reader, allowing for seamless transition to subsequent links.Pending tasks:
Steps to test this PR: