Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #1017139

    Validating my websie with https://achecker.ca/checker/index.php, I got this error concering the modal window with privacy and cookie info. How can I add the label text and wipe off that error?

    Check 206: input element, type of "checkbox", has no text in label.
    Repair: Add text to the input element's associated label that describes the purpose or function of the control.
    Error Line 383, Column 82:
    <input type="checkbox" checked id="aviaPrivacyGoogleTrackingDisabled" class="aviaPrivacyGoogleTracki ...
    Error Line 392, Column 82:
    <input type="checkbox" checked id="aviaPrivacyGoogleWebfontsDisabled" class="aviaPrivacyGoogleWebfon ...
    Error Line 393, Column 78:
    <input type="checkbox" checked id="aviaPrivacyGoogleMapsDisabled" class="aviaPrivacyGoogleMapsDisabl ...

    Hey dellato,

    Thank you for using Enfold.

    Edit the includes > helper-privacy.php file and then look for this code around line 87:

    $output .= '<label>';

    Replace it with:

    $output .= '<label for="'.$cookie.'">';

    Best regards,


    Thank you Ismael!

    It worked. Now I get no errors.



    Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,


    It’s OK, you can close it.



    Awesome! Glad we could help!

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘input element, type of "checkbox", has no text in label’ is closed to new replies.