Currency fields aria-required invalid
-
Required currency fields have aria-required=”1″, e.g.
<input name="currency-1" value="1.23" placeholder="E.g. 12.34" id="forminator-field-currency-1_6a08a2ddd8532" class="forminator-input forminator-currency" data-required="1" aria-required="1" data-decimals="2" data-inputmask="'groupSeparator': '', 'radixPoint': '.', 'digits': '2'" data-hidden-behavior="zero" type="number" step="any" aria-describedby="forminator-field-currency-1_6a08a2ddd8532-description" />Valid values for this field are “true” and “false”.
It looks like Forminator_Currency::markup function uses the required property for both data-required and aria-required – whereas the markup functions for other types handle these separately and correctly use “false” and “true”.
You must be logged in to reply to this topic.