|
48 | 48 | value: pseudocardpan"> |
49 | 49 |
|
50 | 50 | <fieldset data-bind="attr: {class: 'fieldset payment items ccard ' + getCode(), id: 'payone_form_cc'}"> |
| 51 | + <legend class="visually-hidden payone" data-bind="text: getTitle()"></legend> |
51 | 52 | <!-- ko if: useSaveDataMode() --> |
52 | 53 | <div data-bind="foreach: getSavedPaymentData()"> |
53 | 54 | <div class="payment-method"> |
|
72 | 73 | <!--/ko--> |
73 | 74 | <div data-bind="attr: {id: getCode() + '_new_data_container'}" class="fieldset ccard"> |
74 | 75 | <!-- ko if: isAutoCardtypeDetectionEnabled() --> |
75 | | - <input name="payment[cc_type]" type="hidden" value="" data-bind="attr: {id: getCode() + '_credit_card_type', value: getCreditcardTypes()[0].id, 'data-container': getCode() + '_credit_card_type'}" /> |
| 76 | + <input name="payment[cc_type]" type="hidden" value="" data-bind="attr: {id: getCode() + '_credit_card_type', value: getCreditcardTypes()[0].id, 'data-container': getCode() + '_credit_card_type'}, 'autocomplete': 'off'" /> |
76 | 77 | <!--/ko--> |
77 | 78 | <!-- ko if: !isAutoCardtypeDetectionEnabled() --> |
78 | 79 | <div class="field"> |
|
102 | 103 | data-bind="attr: { |
103 | 104 | autocomplete: 'off', |
104 | 105 | id: getCode() + '_cardholder', |
105 | | - title: $t('Cardholder'), |
106 | 106 | 'data-container': getCode() + '-cardholder'}, |
107 | 107 | value: cardholder, |
108 | 108 | valueUpdate: 'keyup' "/> |
109 | 109 | </div> |
110 | 110 | </div> |
111 | 111 |
|
112 | 112 | <div class="field number required"> |
113 | | - <label class="label"> |
114 | | - <span><!-- ko i18n: 'Credit Card Number'--><!-- /ko --></span> |
115 | | - <!-- ko if: isAutoCardtypeDetectionEnabled() --> |
116 | | - <!-- ko foreach: getCreditcardTypes() --> |
117 | | - <img class="cc-icon" data-bind="attr: {id: $parent.getCode() + '_cc_icon_' + id.toLowerCase(), src: 'https://cdn.pay1.de/cc/' + id.toLowerCase() + '/s/default.png'}"/> |
118 | | - <!--/ko--> |
119 | | - <!--/ko--> |
120 | | - </label> |
| 113 | + <span class="label"><!-- ko i18n: 'Credit Card Number'--><!-- /ko --></span> |
| 114 | + <!-- ko if: isAutoCardtypeDetectionEnabled() --> |
| 115 | + <!-- ko foreach: getCreditcardTypes() --> |
| 116 | + <img class="cc-icon" data-bind="attr: {id: $parent.getCode() + '_cc_icon_' + id.toLowerCase(), src: 'https://cdn.pay1.de/cc/' + id.toLowerCase() + '/s/default.png'}"/> |
| 117 | + <!--/ko--> |
| 118 | + <!--/ko--> |
121 | 119 | <div class="control"> |
122 | 120 | <span id="cardpan" class="inputIframe"></span> |
123 | 121 | </div> |
124 | 122 | </div> |
125 | 123 |
|
126 | 124 | <div class="field date required" data-bind="attr: {id: getCode() + '_cc_type_exp_div'}"> |
127 | | - <label class="label"> |
128 | | - <span><!-- ko i18n: 'Expiration Date'--><!-- /ko --></span> |
129 | | - </label> |
| 125 | + <span class="label"><!-- ko i18n: 'Expiration Date'--><!-- /ko --></span> |
130 | 126 | <div class="control"> |
131 | 127 | <div class="fields group group-2"> |
132 | 128 | <div class="field no-label month"> |
|
145 | 141 |
|
146 | 142 | <!-- ko if: showCvc() --> |
147 | 143 | <div class="field cvv required" data-bind="attr: {id: getCode() + '_cc_type_cvv_div'}"> |
148 | | - <label class="label"> |
149 | | - <span><!-- ko i18n: 'Card Verification Number'--><!-- /ko --></span> |
150 | | - </label> |
| 144 | + <span class="label"><!-- ko i18n: 'Card Verification Number'--><!-- /ko --></span> |
151 | 145 | <div class="control"> |
152 | 146 | <span id="cardcvc2" class="inputIframe"></span> |
153 | 147 | </div> |
|
0 commit comments