Support » Plugin: Superb slideshow gallery » [Plugin: Superb slideshow gallery] Alt Tags for images to be ADA Compliant

  • Resolved mixlplex

    (@mixlplex)


    In order to provide Alt tags so it’s easier for blind readers to navigate the site I changed the following code in the superb-slideshow-gallery.js file:

    In the
    getSlideHTML:function(imgelement){

    I changed

    layerHTML+='<img src="'+imgelement[0]+'" style="border-width:0;" />\n'

    to

    layerHTML+='<img src="'+imgelement[0]+'" alt="'+imgelement[3]+'" style="border-width:0;" />\n'

    This takes the image title and displays it as an alt tag. For better or worse, all of the image titles for all of the images in the gallery will be displayed at once.

    http://wordpress.org/extend/plugins/superb-slideshow-gallery/

  • The topic ‘[Plugin: Superb slideshow gallery] Alt Tags for images to be ADA Compliant’ is closed to new replies.