Skip to content

Commit 74be98d

Browse files
committed
MAGETWO-53226: Accessibility: can't get to all shipping method options using keyboard
1 parent a5fa3af commit 74be98d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

app/code/Magento/Checkout/view/frontend/web/template/cart/shipping-rates.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
<div data-bind="text: error_message"></div>
1818
<!-- /ko -->
1919
<!-- ko if: (available) -->
20-
<input name="estimate_method"
21-
type="radio"
20+
<input type="radio"
2221
class="radio"
2322
data-bind="
2423
click: $parents[1].selectShippingMethod,

app/code/Magento/Checkout/view/frontend/web/template/shipping.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@
8181
<td class="col col-method">
8282
<!-- ko ifnot: method.error_message -->
8383
<!-- ko if: $parent.rates().length == 1 -->
84-
<input name="shipping_method"
85-
class="radio"
84+
<input class="radio"
8685
type="radio"
8786
data-bind="attr: {
8887
checked: $parent.rates().length == 1,
@@ -92,7 +91,7 @@
9291
}" />
9392
<!-- /ko -->
9493
<!--ko ifnot: ($parent.rates().length == 1)-->
95-
<input name="shipping_method" type="radio"
94+
<input type="radio"
9695
data-bind="
9796
value: method.carrier_code + '_' + method.method_code,
9897
checked: $parent.isSelected,
@@ -125,7 +124,7 @@
125124
<div data-bind="text: method.error_message"></div>
126125
</div>
127126
<span class="no-display">
128-
<input name="shipping_method" type="radio" data-bind="attr: {'value' : method.method_code, 'id': 's_method_' + method.method_code}"/>
127+
<input type="radio" data-bind="attr: {'value' : method.method_code, 'id': 's_method_' + method.method_code}"/>
129128
</span>
130129
</td>
131130
</tr>

0 commit comments

Comments
 (0)