jssocials icon indicating copy to clipboard operation
jssocials copied to clipboard

Add alternative text to custom logo images

Open marcelo2605 opened this issue 6 years ago • 3 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?

marcelo2605 avatar Jul 12 '18 13:07 marcelo2605

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

HartLarsson avatar Jul 30 '18 22:07 HartLarsson

no fix???

HartLarsson avatar Sep 02 '18 21:09 HartLarsson

+1

odedharth avatar Oct 11 '18 23:10 odedharth