WordPress.org

Forums

Custom Header Images
Image Alt's Not Displaying (1 post)

  1. mrsreeder
    Member
    Posted 1 year ago #

    Hello,

    Love the plugin but I need to make it more Accessible. By that I mean that I need image alt tags to work. I have alt's set up for all header images used and am using the following custom script for responsive behaviour:

    <div onclick="if(this.getAttribute('data-link')!='') window.location.href=this.getAttribute('data-link')" data-link="[link]" class="chi_display_header" ><img src="[image_url]" style="width:100%;" alt="" /></div>

    I tried using the WP default function for calling image_alt but it did not work.

    Need some help please!

    Thank you.

    https://wordpress.org/plugins/custom-header-images/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic