Here's a weird one. We have a document with the following linline SVG:
(The doubled text is to work around the fact that many user agents don't support an outside stroke effect – it basically covers up the inner part of the stroke, leaving only the outside half.)
When the document containing this SVG is converted to tagged PDF, it results in the following tag hierarchy:
Consequently, when screen readers hit this, they end up saying "death death death", when the intended audible output is simply "death".
In this case, the alternate text attribute produced by the inline SVG's <title> element should suffice; is there any way to suppress the production of tagged text by the accompanying <text> elements?
<svg height="13pt" width="36.5pt" style="margin: -2pt 0;">
<title>Death</title>
<text x="1" y="15" fill="white" stroke="black" stroke-width="2">DEATH</text>
<text x="1" y="15" fill="white">DEATH</text>
</svg>
(The doubled text is to work around the fact that many user agents don't support an outside stroke effect – it basically covers up the inner part of the stroke, leaving only the outside half.)
When the document containing this SVG is converted to tagged PDF, it results in the following tag hierarchy:
<Figure Alt="Death">
+--DEATH DEATH
Consequently, when screen readers hit this, they end up saying "death death death", when the intended audible output is simply "death".
In this case, the alternate text attribute produced by the inline SVG's <title> element should suffice; is there any way to suppress the production of tagged text by the accompanying <text> elements?