-
Notifications
You must be signed in to change notification settings - Fork 221
Context for aria-label on cart quantity controls #8099
Context for aria-label on cart quantity controls #8099
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: +106 B (0%) Total Size: 1.01 MB
ℹ️ View Unchanged
|
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.
Works great! I just added some suggestions to improve comment grammar, nothing blocking so I will approve. Thanks for working on this!
assets/js/blocks/cart/cart-line-items-table/cart-line-item-row.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
Thanks @opr! Committed the suggestions and I'm going to merge it after tests re-run 👍🏼 |
The “Remove item” action in the Cart block currently has no aria-label value; using Voice Over, it reads out only as the text it has. This is a bit generic without context. A user might not be sure what item is being removed from the cart. The same goes for quantity controls.
Partially Fixes #7492
Accessibility
Other Checks
Testing
Automated Tests
User Facing Testing
WooCommerce Visibility
Performance Impact
Changelog