summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorChristophe Strobbe <christophe.strobbe@esat.kuleuven.be>2011-08-09 16:07:49 +0100
committerNoel Power <noel.power@novell.com>2011-08-09 16:23:25 +0100
commit2eb2e571abdbfe143ba738a0dec0a4b73de7827c (patch)
tree2c83631d8bf75e4b8d767bf259b1e03826b53a10 /filter
parentReplace SvUShorts with vector in xmloff/xmlnumfe.cxx (diff)
downloadcore-2eb2e571abdbfe143ba738a0dec0a4b73de7827c.tar.gz
core-2eb2e571abdbfe143ba738a0dec0a4b73de7827c.zip
fix fdo#39561
make html & xhtml consistent in treatment of svg:title -> image:alt tag
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/body.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index d56955e030bc..a4ed3c0d312c 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -1512,13 +1512,13 @@
</xsl:if>
<xsl:attribute name="alt">
<xsl:choose>
- <xsl:when test="../svg:desc">
- <xsl:value-of select="../svg:desc"/>
+ <xsl:when test="../svg:title">
+ <xsl:value-of select="../svg:title"/>
</xsl:when>
<xsl:otherwise>
<xsl:message>
Accessibility Warning:
- No alternate text ('svg:desc' element) set for
+ No alternate text ('svg:title' element) set for
image '
<xsl:value-of select="@xlink:href"/>'!
</xsl:message>