Skip to content

Commit 17d2c18

Browse files
authored
Merge pull request #831 from tblivet/fix/small-fixes
Fix small a11y fixes
2 parents 8f8c755 + 2138212 commit 17d2c18

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

modules/ps_customersignin/ps_customersignin.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
href="{$urls.pages.authentication}?back={$urls.current_url|urlencode}"
136136
class="header-block__action-btn"
137137
rel="nofollow"
138+
aria-label="{l s='Sign in' d='Shop.Theme.Actions'}"
138139
>
139140
<i class="material-icons header-block__icon" aria-hidden="true">&#xE853;</i>
140141
<span class="d-none d-md-inline header-block__title">

templates/checkout/_partials/steps/addresses.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
{/if}
102102

103103
<div class="buttons-wrapper buttons-wrapper--split buttons-wrapper--invert-mobile mt-3">
104-
<button class="btn btn-outline-primary js-back" data-step="checkout-personal-information-step">
104+
<button class="btn btn-outline-primary js-back" type="button" data-step="checkout-personal-information-step">
105105
<i class="material-icons rtl-flip" aria-hidden="true">&#xE5C4;</i>
106106
{l s='Back to Personal Information' d='Shop.Theme.Actions'}
107107
</button>

templates/checkout/_partials/steps/payment.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
{/if}
134134

135135
<div class="buttons-wrapper buttons-wrapper--split buttons-wrapper--invert-mobile mt-3">
136-
<button class="btn btn-outline-primary js-back" data-step="checkout-delivery-step">
136+
<button class="btn btn-outline-primary js-back" type="button" data-step="checkout-delivery-step">
137137
<div class="material-icons rtl-flip" aria-hidden="true">&#xE5C4;</div>
138138
{l s='Back to Shipping' d='Shop.Theme.Actions'}
139139
</button>

templates/checkout/_partials/steps/shipping.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
</div>
9090

9191
<div class="buttons-wrapper buttons-wrapper--split buttons-wrapper--invert-mobile mt-3">
92-
<button class="btn btn-outline-primary w-100 w-md-auto mb-3 mb-md-0 js-back" data-step="checkout-addresses-step">
92+
<button class="btn btn-outline-primary w-100 w-md-auto mb-3 mb-md-0 js-back" type="button" data-step="checkout-addresses-step">
9393
<div class="material-icons rtl-flip" aria-hidden="true">&#xE5C4;</div>
9494
{l s='Back to Addresses' d='Shop.Theme.Actions'}
9595
</button>

0 commit comments

Comments
 (0)