JohnPaulDesign
12/8/2016 - 11:08 AM

Accessible SVG for screen readers

Accessible SVG for screen readers

<svg role="img" arialabelledby="MyTitle" width="500" height="300" xmlns="http://www.w3.org/2000/svg">
  <g>
    <title id="MyTitle">My Title</title>
    <rect x="10" y="10" width="200" height="50"
    style="fill:none; stroke:blue; stroke-width:1px"/>
  </g>
</svg>