Support » Plugin: GDPR Cookie Compliance (CCPA, PIPEDA ready) » WCAG 2 AA Compliance

  • Resolved nickbits

    (@nickbits)


    Hi,

    Love the plugin, only one minor issue. Have been testing the plugin against WCAG 2 AA using Pa11y and getting a few errors.

    1. Anchor element found with a valid href attribute, but no link content has been supplied.

    This is generated in gdpr-modules/modal/modal-base-onepage.php and gdpr-modules/modal/modal-base-tabs.php by:

    <a href="#" class="moove-gdpr-modal-close" rel="nofollow"><span class="gdpr-icon moovegdpr-arrow-close"></span></a>

    Believe this can be solved in a few ways:

    <a href="#" class="moove-gdpr-modal-close" rel="nofollow" aria-label="Close the Privacy/Cookie window."><span class="gdpr-icon moovegdpr-arrow-close"></span></a>

    OR

    <a href="#" class="moove-gdpr-modal-close" rel="nofollow"><span class="sr-only">Close the Privacy/Cookie window.</span><span class="gdpr-icon moovegdpr-arrow-close"></span></a>

    The other errors:

    2. This form does not contain a submit button, which creates issues for those who cannot submit the form using the keyboard. Submit buttons are INPUT elements with type attribute “submit” or “image”, or BUTTON elements with type “submit” or omitted/invalid.

    3. This fieldset element does not have a name available to an accessibility API. Valid names are: legend element, aria-label undefined, aria-labelledby undefined.

    4. Fieldset does not contain a legend element. All fieldsets should contain a legend element that describes a description of the field group.

    I believe these last three are to do with this code:

    ` <form>
    <fieldset>
    <label class=’gdpr-acc-link’ for=”moove_gdpr_strict_cookies” ><?php _e(‘disable’,’gdpr-cookie-compliance’); ?></label>
    <label class=”cookie-switch”>
    <input type=”checkbox” <?php echo $content->is_checked; ?> value=”check” name=”moove_gdpr_strict_cookies” id=”moove_gdpr_strict_cookies”>
    <span class=”cookie-slider cookie-round” data-text-enable=”<?php echo $content->text_enable; ?>” data-text-disabled=”<?php echo $content->text_disable; ?>”></span>
    </label>
    </fieldset>
    </form>`

    found in gdpr-modules/modal/content-sections/strictly.php and two other files. I do not have a suggested fix for this yet.

    So will the plugin be made WCAG 2.1 AA compliant?

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Moove Agency

    (@mooveagency)

    Hi @nickbits,

    Thanks for using our plugins.

    We will review your suggestions and make our plugin WCAG 2.1 compliant in a future release.

    Thanks for your useful suggestions.

    jmhjmh

    (@jmhjmh)

    Hi! Any news on when we can expect the WCAG AA compliance?

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @jmhjmh

    The WCAG compliance is on our roadmap and we will release the plugin update soon.

    We’ll keep you updated.

    Hope this helps.
    Thanks

    nickbits

    (@nickbits)

    Hi,

    Not sure why you changed the ticket to resolved, the issue remains. I appreciate you are working on it, but please why mark it as resolved when the issue has not been resolved? I have put suggested solutions in the first post, you can easily update and re-release the code to remove some of the issues straight away.

    Please can you update the code, I am happy to post any more corrections I make so you can add it to the codebase.

    Nick

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    There are no “tickets” on this site and never have been. Like you, the plugin author is a volunteer here.

    If you do wish to share code please do not post it here, it doesn’t work after ~10 lines or so.

    If you need share that data please use https://gist.github.com/ or https://pastebin.com/ instead and post the link to that paste.

    nickbits

    (@nickbits)

    Okay then “topic” not ticket. I know they are a volunteer, that is why I was trying to share code so we could help speed up getting the issue sorted. Will use tools note in future.

    • This reply was modified 3 months ago by nickbits.
    Plugin Author Moove Agency

    (@mooveagency)

    Hi @nickbits

    Thanks for your patience on this.

    We released an update of our plugin today that includes ADA/WCAG Compliance.

    Please feel free to test it and let us know if you spot any issues.

    Hope this helps.

    @mooveagency Excellent, thank you. Will test it out in a bit.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.