Okay
  Public Ticket #1686783
alt tags not shown in the Slider Images
Closed

Comments

  •  1
    schachen started the conversation

    I noticed the image alt Tags i captured for the sliders-images are not making it in the source-code. Can you provide a solution for this?

  •  1,603
    Barry replied

    Hi there,

    The alt tags for the slider images should work without issues, I just checked the source code of our theme demo. Are you sure you have filled in the "Alt Text" input field of the image? See attachments.

    If this "Alt Text" input field contain texts and you still don't see it on the front-end of your website, could you provide me a login? I will take a closer look.

    Thank you.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •   schachen replied privately
  •  1,603
    Barry replied

    Thank you.

    I see what's going on. The slider images get the alt attribute from the "Heading" input field at each slide. Because the heading setting is empty for all slides  the alt tag is also empty.

    What you could do is add some texts to the "Heading" setting, save the page and add the following css to Appearance -> Customize -> Additional CSS to hide the title from the front-end:

    /* Hide title on slide */
    .jumbotron.carousel .carousel-text h1 { display: none; }
    

    That should fix the issue for now.

    Actually we will update the slider template file for the following theme update to give priority to the alt text input field. Thank you for mentioning.

    If you have any questions feel free to ask.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  1
    schachen replied

    Ok that seems like a good Workaround for the moment. Thank you for the quick response.

  •  1,603
    Barry replied

    You're welcome!

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  1
    schachen replied

    One more thing: The Alt-Tags are now shown with this Workaround but it leads to another SEO-Problem.
    The Sliders Outputs all the Titles as  <h1>, there should only be one such title for a page.

    Can you change the slider template file to output <h3> Titels for example?

  •  1,603
    Barry replied

    There are some theories that including one H1 tag on a single page is the best practice but Google said it's no problem to have multiple H1 tags on the same page (answer from Google in this video).

    If you want to change this you need to edit the slider template file. You can find this file inside the theme folder on the following path:

    wordpress/wp-content/themes/the-landscaper/parts/jumbotron-fullwidth.php

    On line 71 you can find the <h1> tag of the heading

    Let me know if you have any questions.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  1
    schachen replied

    Again, this was very helpful. Thank you – No more questions so far.