Support » Plugin: GDPR Cookie Compliance (CCPA ready) » Alt Text missing

  • Resolved grombleton

    (@grombleton)


    Is there a way to set the alt text for the company logo? I’d hoped that it would be pulled from the Alt text set in the media library when you upload, but it doesn’t populate.

    Not a massive issue, but it is flagged up as an issue on our Audit software.

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

    (@mooveagency)

    Hi @grombleton

    The issue has been fixed in version 4.5.7 version, current version is v4.8.3

    The “Alt” attribute of the logo needs to be filled in your media library.

    You can try to re-upload the logo in GDPR Cookie Compliance settings, and should work.

    If the Alt text doesn’t appear on your site, you can use the following code snippet to override the Alt text, add this to functions.php:

    add_filter('gdpr_cc_custom_logo_alt', function(){
        return 'My awesome alt text';
    });

    Hope this helps.

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