Remove HTML List of Payment Options from Cart Page
-
Hello! You resolved my previous issue with the alt text really quickly so thank you for that.
I have another issue that was flagged by an accessibility consultant which I’m hoping you can look at.
On the Cart page we have the PayPal Buy Now button enabled. And in that section a screen reader will narrate there is a list:
<ul class="wc_braintree_cart_gateways paypal-active"> <li class="wc-braintree-cart-text">— or —</li> <li class="wc_braintree_cart_gateway wc_braintree_cart_gateway_braintree_paypal"></li> <li class="wc_braintree_cart_gateway wc_braintree_cart_gateway_braintree_applepay" style="display: none;"></li> </ul>
But this isn’t really a list. It’s the word “Or” plus a PayPal button and a hidden ApplePay button.
Can you please update this HTML so it’s semantic? Use divs instead of an unordered list & list items.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove HTML List of Payment Options from Cart Page’ is closed to new replies.