[Resolved] Missing ALT text and Title text on Logo

Home Forums Support [Resolved] Missing ALT text and Title text on Logo

Home Forums Support Missing ALT text and Title text on Logo

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1031616
    Ramona

    I am missing both the Alt text and Title text for the Logo on this website and it is causing an Accessibility error:
    http://www.sustainablepavingsystems.com/

    When I don’t have the Menu next to the Logo, both the Alt text and the Title text are present like on this Website:
    https://bomaniteoklahoma.bomanitelicensee.com/

    I configured both through the Customizer. Do I need to apply a filter on the SPS site, or is this a Bug?

    #1031751
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Does the site have any custom functions? Specifically, any filters referencing generate_logo_title?

    #1032174
    Ramona

    Hi Tom,

    Thanks for responding. I have functions to Add Custom Fields to FooGallery settings, and a function that Adds the Version number to the Child Theme (cache busting). None of these functions utilize the Filter generate_logo_title.

    #1032207
    Ramona

    I have a staging site where I can create an Admin User and Password. How do I get the Credentials to you?

    #1032502
    Tom
    Lead Developer
    Lead Developer

    That would be great – you can send those details through the Account Issue form here: https://generatepress.com/contact

    Be sure to mention this topic πŸ™‚

    Thanks!

    #1035816
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    This is happening because you have no Site Title set in “Settings > General”.

    If you can’t set a title there, you need to add the alt to the site logo like this:

    add_filter( 'generate_logo_title', function() {
        return 'Your alt text here';
    } );

    Let me know if you need more info πŸ™‚

    #1036478
    Ramona

    Hi Tom,

    Thank you so much for identifying the solution for me! WOW! This is a site that I rescued from another Hosting Company that had originally done the Website Development in 2014. Unfortunately, their team allowed the site to get HACKED. I pulled it away from their Hosting to SiteGround Hosting, cleaned up the hacked files and code, and, OF COURSE, changed the Theme to GeneratePress. I never even thought to check the Site Title … because why wouldn’t I ASSUME it was there? You know what they say about ASSUME! (smile). Sorry it was such a trivial matter, but again, Thank You So MUCH for your help!

    #1036515
    Tom
    Lead Developer
    Lead Developer

    No problem! Glad I could help πŸ™‚

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