DEV Community

Discussion on: a11y issues on WordPress - google lighthouse can't detect <label></label> on the form on the hero section

Collapse
 
devdrake0 profile image
Si

I believe there is an email_name_label and an email_email_label ?

<?php
md_email_form( array(
    'email_service' => '',
    'email_list' => '',
    'email_code' => '',
    'email_title' => '',
    'email_desc' => '',
    'email_input' => array(
        'name' => ''
    ),
    'email_name_label' => '',
    'email_email_label' => '',
    'email_submit_text' => '',
    'email_image' => '',
    'email_form_style' => array(
        'attached' => ''
    ),
    'email_form_title' => '',
    'email_form_footer' => '',
    'email_bg_color' => '',
    'email_text_color' => '',
    'email_image' => '',
    'email_submit_classes' => '',
    'email_classes' => ''
) );
Collapse
 
highcenburg profile image
Vicente G. Reyes

Hold on, why is there a lot more when we only need a ? I'm so confused.

Thread Thread
 
devdrake0 profile image
Si • Edited

I honestly couldn't tell you.

I've never used PHP and have a personal hatred for WP =), I just Googled and thought the results might help :)

Thread Thread
 
highcenburg profile image
Vicente G. Reyes

Me neither. 😄 I'm probably on the top 1000 if there exist a wordpress hatred list 😄