-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(storefront): BCTHEME-1780 Content that functions as a list should…
… be indicated as such to screen reader users
- Loading branch information
1 parent
d799535
commit 78b934d
Showing
4 changed files
with
62 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,70 @@ | ||
{{#with theme_settings}} | ||
{{#or show_accept_amex show_accept_discover show_accept_mastercard show_accept_paypal show_accept_visa show_accept_amazonpay show_accept_googlepay show_accept_klarna}} | ||
<div class="footer-payment-icons"> | ||
<ul class="footer-payment-icons" aria-label="{{lang 'account.payment_methods.payment_icons_label'}}"> | ||
{{#if show_accept_amex}} | ||
<svg class="footer-payment-icon"><use href="#icon-logo-american-express"></use></svg> | ||
<li> | ||
<svg class="footer-payment-icon" role="img"> | ||
<title>American Express</title> | ||
<use href="#icon-logo-american-express"></use> | ||
</svg> | ||
</li> | ||
{{/if}} | ||
{{#if show_accept_discover}} | ||
<svg class="footer-payment-icon"><use href="#icon-logo-discover"></use></svg> | ||
<li> | ||
<svg class="footer-payment-icon" role="img"> | ||
<title>Discover</title> | ||
<use href="#icon-logo-discover"></use> | ||
</svg> | ||
</li> | ||
{{/if}} | ||
{{#if show_accept_mastercard}} | ||
<svg class="footer-payment-icon"><use href="#icon-logo-mastercard"></use></svg> | ||
<li> | ||
<svg class="footer-payment-icon" role="img"> | ||
<title>Mastercard</title> | ||
<use href="#icon-logo-mastercard"></use> | ||
</svg> | ||
</li> | ||
{{/if}} | ||
{{#if show_accept_paypal}} | ||
<svg class="footer-payment-icon"><use href="#icon-logo-paypal"></use></svg> | ||
<li> | ||
<svg class="footer-payment-icon" role="img"> | ||
<title>PayPal</title> | ||
<use href="#icon-logo-paypal"></use> | ||
</svg> | ||
</li> | ||
{{/if}} | ||
{{#if show_accept_visa}} | ||
<svg class="footer-payment-icon"><use href="#icon-logo-visa"></use></svg> | ||
<li> | ||
<svg class="footer-payment-icon" role="img"> | ||
<title>Visa</title> | ||
<use href="#icon-logo-visa"></use> | ||
</svg> | ||
</li> | ||
{{/if}} | ||
{{#if show_accept_amazonpay}} | ||
<svg class="footer-payment-icon"><use href="#icon-logo-amazonpay"></use></svg> | ||
<li> | ||
<svg class="footer-payment-icon" role="img"> | ||
<title>Amazon Pay</title> | ||
<use href="#icon-logo-amazonpay"></use> | ||
</svg> | ||
</li> | ||
{{/if}} | ||
{{#if show_accept_googlepay}} | ||
<svg class="footer-payment-icon"><use href="#icon-logo-googlepay"></use></svg> | ||
<li> | ||
<svg class="footer-payment-icon" role="img"> | ||
<title>Google Pay</title> | ||
<use href="#icon-logo-googlepay"></use> | ||
</svg> | ||
</li> | ||
{{/if}} | ||
{{#if show_accept_klarna}} | ||
<svg class="footer-payment-icon"><use href="#icon-logo-klarna"></use></svg> | ||
<li> | ||
<svg class="footer-payment-icon" role="img"> | ||
<title>Klarna</title> | ||
<use href="#icon-logo-klarna"></use> | ||
</svg> | ||
</li> | ||
{{/if}} | ||
</div> | ||
</ul> | ||
{{/or}} | ||
{{/with}} |