tabalinas / jssocials

Social Network Sharing jQuery Plugin
http://js-socials.com
MIT License
464 stars 104 forks source link

Add alternative text to custom logo images #205

Open marcelo2605 opened 6 years ago

marcelo2605 commented 6 years ago

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?

HartLarsson commented 6 years ago

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

HartLarsson commented 6 years ago

no fix???

odedharth commented 5 years ago

+1