Created
October 18, 2018 07:39
-
-
Save kugimiya/7ca97a6a39a1d7113af5de7324b3e6df to your computer and use it in GitHub Desktop.
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
diff --git a/design/themes/responsive/css/addons/lite_checkout/styles.less b/design/themes/responsive/css/addons/lite_checkout/styles.less | |
index 04ab982834..e34e61c919 100644 | |
--- a/design/themes/responsive/css/addons/lite_checkout/styles.less | |
+++ b/design/themes/responsive/css/addons/lite_checkout/styles.less | |
@@ -247,7 +247,7 @@ | |
border-radius: 5px; | |
background-color: #fff; | |
- font-size: 14px; | |
+ font-size: 16px; | |
color: #2e3a47; | |
&--textarea { | |
diff --git a/design/themes/responsive/templates/addons/lite_checkout/components/steps/buyer.tpl b/design/themes/responsive/templates/addons/lite_checkout/components/steps/buyer.tpl | |
index ee98aee0f6..44e32b68da 100644 | |
--- a/design/themes/responsive/templates/addons/lite_checkout/components/steps/buyer.tpl | |
+++ b/design/themes/responsive/templates/addons/lite_checkout/components/steps/buyer.tpl | |
@@ -21,6 +21,9 @@ | |
name="user_data[s_address]" | |
value="{$lite_checkout_user_data.s_address}" | |
data-ca-lite-checkout-element="address" | |
+ autocomplete="shipping street-address" | |
+ aria-label="{__("address")}" | |
+ title="{__("address")}" | |
required | |
/> | |
<label class="litecheckout__label" for="litecheckout_street">{__("address")} </label> | |
@@ -35,6 +38,9 @@ | |
value="{$lite_checkout_user_data.s_zipcode}" | |
name="user_data[s_zipcode]" | |
data-ca-lite-checkout-element="zipcode" | |
+ autocomplete="shipping postal-code" | |
+ aria-label="{__("zip_postal_code")}" | |
+ title="{__("zip_postal_code")}" | |
required | |
/> | |
<label class="litecheckout__label" for="litecheckout_zipcode">{__("zip_postal_code")} </label> | |
@@ -52,6 +58,9 @@ | |
name="user_data[name]" | |
value="{$lite_checkout_user_data.name}" | |
data-ca-lite-checkout-element="name" | |
+ autocomplete="name" | |
+ aria-label="{__("lite_checkout.personal_name")}" | |
+ title="{__("lite_checkout.personal_name")}" | |
required | |
/> | |
<label class="litecheckout__label" for="litecheckout_name">{__("lite_checkout.personal_name")}</label> | |
@@ -65,6 +74,9 @@ | |
name="user_data[phone]" | |
value="{$lite_checkout_user_data.phone|default:($lite_checkout_user_data.s_phone|default:$lite_checkout_user_data.b_phone)}" | |
data-ca-lite-checkout-element="phone" | |
+ autocomplete="tel" | |
+ aria-label="{__("phone")}" | |
+ title="{__("phone")}" | |
required | |
/> | |
<label class="litecheckout__label" for="litecheckout_phone">{__("phone")}</label> | |
@@ -78,6 +90,9 @@ | |
name="user_data[email]" | |
value="{$lite_checkout_user_data.email}" | |
data-ca-lite-checkout-element="email" | |
+ autocomplete="off" | |
+ aria-label="{__("email")}" | |
+ title="{__("email")}" | |
required | |
/> | |
<label class="litecheckout__label" for="litecheckout_email">{__("email")}</label> | |
@@ -90,10 +105,12 @@ | |
<textarea | |
class="litecheckout__input litecheckout__input--textarea" | |
id="litecheckout_comment_to_shipping" | |
- type="text" | |
+ autocomplete="disabled" | |
name="customer_notes" | |
placeholder=" " | |
data-ca-lite-checkout-element="notes" | |
+ aria-label="{__("lite_checkout.delivery_note")}" | |
+ title="{__("lite_checkout.delivery_note")}" | |
>{$cart.notes}</textarea> | |
<label class="litecheckout__label" for="litecheckout_comment_to_shipping">{__("lite_checkout.delivery_note")} </label> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment