-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Add aria-label to page jump #33067
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
Add aria-label to page jump #33067
Conversation
Hi @bradleybrecher. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
I will not make a test for this addition, so someone feel free to add it |
@magento create issue |
<a class="page next jump" title="" href="<?= $block->escapeUrl($block->getNextJumpUrl()) ?>"> | ||
<a class="page next jump" | ||
title="" | ||
aria-label="Skip to page <?= $block->escapeHtml($block->getNextJumpPage()) ?>" |
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.
Can you translate this?
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.
@blmage can you clarify further what you mean by "translate this"?
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.
@bradleybrecher 'Skip to Page' should be translatable with __()
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.
change pushed & ready for another review
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Unit Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Hi @bradleybrecher , @Den4ik & @blmage ❌ QA not Passed Anchor links with text Manual Scenario Steps
✔️ Expected result After Fix
❌ Actual result After Fix |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@engcom-Alfa I don't know how you tests it, but QA Passed for me |
Hi @Den4ik, thank you for the review. |
@engcom-Alfa Looks like I understood. Please follow little bit different scenario:
|
@magento run Functional Tests B2B |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests CE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run Functional Tests EE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
Thank you so much for the input @Den4ik ! This helped to proceed further. Thanks a lot |
✔️ QA Passed Preconditions:
Manual testing scenario:
Before: ✖️ There was no aria-label attribute to the link text After: ✔️ aria-label attribute has been set to the link text There is no additional regression is required since it is a aria-label attribute update to a particular link. |
Hi @bradleybrecher, thank you for your contribution! |
Description (*)
Issue : 2.4.4 Link Purpose (In Context))
Summary: The same link text,
...
is used for links going to different page jumps. Users might not know the difference between each...
if there is no explanationFix: Add an 'aria-label' which indicates the page the user is skipping to
Related Pull Requests
N/A
Fixed Issues (if relevant)
Contribution checklist (*)
Resolved issues: