Description
This issue is automatically created based on existing pull request: #27386: Aria-atomic="true" missing on error container
Description (*)
Issue : Aria-atomic="true" is missing on error container
Summary: The page contains an error container made with the WAI-ARIA role="alert"
attribute, but it does not contain a WAI-ARIA attribute that will make sure all assistive technology can read the error message after more than one invalid submission.
Fix: To make sure that all assistive technologies will read the error message after more than one invalid submission, added the WAI-ARIA attribute aria-atomic="true"
to the error container tag.
Related Pull Requests
N/A
Fixed Issues (if relevant)
N/A
Preconditions:
have Cart price rule with discount code;
Steps to reproduce:
- Go to Storefront;
- Add product to cart;
- Go to Shopping Cart;
- Expand Apply Discount Code tab and fill correct code
Expected Result: ✔️ The success message is shown on the page
- Try to fill with incorrect code
Expected Result: ✔️ The error message is shown on the page
- Proceed to Checkout;
- Fill all required fields and go to Review & Payments step;
- Expand the Apply Discount Code tab and fill correct code
Expected Result: ✔️ The success message is shown on the page
- Try to fill with incorrect code
Expected Result: ✔️ The error message is shown on the page
Questions or comments
N/A
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- All automated tests passed successfully (all builds are green)