• Resolved Guenni007

    (@guenni007)


    is it possible to transfer the alt and title attribute from the img to the replaced-svg
    f.e. in this manner:

    <svg role="img" aria-label="[title + description]">
      <title>[title]</title>
      <alt>[alt]</alt>
      <desc>[long description]</desc>
    </svg>

    or to insert it in this manner from media library entries?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Hi @guenni007

    Unfortunately, the plugin doesn’t do this. It is on the list of possible features/improvements though 🙂

    Plugin Author Benbodhi

    (@benbodhi)

    In the meantime, you can add the code directly to the SVG before uploading by opening it in a code/text editor like sublime text.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘img replacement on preserving alt and title attribut’ is closed to new replies.