diff options
author | Christophe Strobbe <christophe.strobbe@esat.kuleuven.be> | 2011-08-09 16:07:49 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-08-09 16:23:25 +0100 |
commit | 2eb2e571abdbfe143ba738a0dec0a4b73de7827c (patch) | |
tree | 2c83631d8bf75e4b8d767bf259b1e03826b53a10 | |
parent | Replace SvUShorts with vector in xmloff/xmlnumfe.cxx (diff) | |
download | core-2eb2e571abdbfe143ba738a0dec0a4b73de7827c.tar.gz core-2eb2e571abdbfe143ba738a0dec0a4b73de7827c.zip |
fix fdo#39561
make html & xhtml consistent in treatment of svg:title -> image:alt tag
-rw-r--r-- | filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 6 |
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> |