[Resolved] Want to add Alt attribute to the logo

Home Forums Support [Resolved] Want to add Alt attribute to the logo

Home Forums Support Want to add Alt attribute to the logo

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1352524
    Mouse

    Can you please tell me how to do it.

    #1352576
    David
    Staff
    Customer Support

    Hi there,

    the Logo should display an Alt Tag containing the Site Title by default.
    Are you using any functions to alter the logo hmtl?

    If not then a plugin maybe interfering.

    #1352624
    Mouse

    #1352625
    Mouse

    if you inspect the logo… you can see that there is no alt tag.

    #1352798
    David
    Staff
    Customer Support

    I know. If you inspect the GeneratePress logo on this site you will see it does have one as GP adds it by default. Why it is missing can be 1 of 3 things.

    1. In Customizer > Site Identity – you do not have a Site Title.
    2. A Plugin that is changing the markup – you have a lazy loader and a cache plugin that has added class attributes to the logo – so could be one of them
    3. A Custom Function that is changing the markup.

    #1357622
    Mouse

    Thanks alot this resolved the issue.

    #1357700
    David
    Staff
    Customer Support

    You’re welcome

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