• Resolved thewebtailors

    (@thewebtailors)


    Hello,

    I just noticed that when Stripe tries to show an error message, the forminator-error-message tag still has an aria-hidden=”true” attribute. Can this be fixed?

    <span class="forminator-card-message"><span class="forminator-error-message" aria-hidden="true">Your card was declined. Your request was in live mode, but used a known test card.</span></span>

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @thewebtailors,

    I hope you are keeping well and thank you for reaching out to us.

    I have brought this to the notice of the Forminator team to check this further. I hope an improvement will be released with one of our upcoming updates.

    Kind Regards,
    Nebu John

    Thread Starter thewebtailors

    (@thewebtailors)

    Thank you!

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi again @thewebtailors

    Our developers informed us we have already task for this and future updates should fix this. As for now please follow this hot fix:

    add_filter( 'forminator_render_form_markup', 'wpmudev_aria_attribute_fix_formi', 10, 6 );
    function wpmudev_aria_attribute_fix_formi( $html, $form_fields, $form_type, $form_settings, $form_design, $render_id ) {
        $html = str_replace( 'class="forminator-error-message" aria-hidden="true"', 'class="forminator-error-message" aria-hidden="false"', $html );
        return $html;
    }

    Please let us know does that help.

    Kind Regards,
    Kris

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @thewebtailors ,

    We haven’t heard from you for over a week now, so it looks like you don’t have more questions and the proposed hot-fix worked.

    Feel free to re-open this topic if needed.

    Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘aria-hidden=”true” on Stripe credit card error message’ is closed to new replies.