tabalinas / jssocials

Social Network Sharing jQuery Plugin

Home Page:http://js-socials.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add alternative text to custom logo images

marcelo2605 opened this issue · comments

I'm adding a custom image for each social icon, like this:

  $("#share").jsSocials({
    shares: [
      {
        share: "twitter",
        logo: "dist/images/twitter-square-brands.svg",
      },
      {
        share: "facebook",
        logo: "dist/images/facebook-square-brands.svg",
      },
    ],
    showLabel: false,
    showCount: false,
  });

But the plugin is not adding alt property to <img> tag. Is there a way to do this?

the ALternate text and title must be implemented in the js because are really important for SEO and for blind people.

no fix???