Hi,
Thank you so much for bringing this to our attention and for keeping accessibility in mind! We deeply appreciate your efforts to improve the plugin experience.
Our plugin utilizes default WooCommerce functions to display the “View Cart” and “Checkout” buttons. We haven’t added those buttons using our own markup.
According to WCAG accessibility standards, buttons with clear, visible text like “View Cart” and “Checkout” do not require an extra aria-label. Screen readers can already read them correctly. In fact, adding an aria-label with the same text can cause screen readers to repeat the text twice.
Please let me know your opinion regarding this matter.
Hope to hear from you soon.
Best Regards
I’m sorry — I should have been more clear. I’m referring to the cart icon in the menu (set via the “Place Cart Icon in Menus”) setting of your plugin. It currently includes neither an aria-label nor clear, visible text (just a cart icon).
Hi,
Thank you so much for the clarification. I’ve shared your feedback with my team, and they agreed with your point. We’re currently working on a new version.
After reviewing the implementation, we found that using a <span> with the screen-reader-text class would be more accessibility-friendly in this case than using an aria-label.
We’d also really appreciate your feedback on this approach. Your input will help us ensure we’re addressing the accessibility concerns in the best possible way.
Thank you again for taking the time to raise this and help us improve the experience.
Hope to hear from you soon.
Best Regards