diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2022-03-29 12:56:23 +0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-03-29 20:48:37 +0200 |
commit | 602281f118a8b8218bef24511d835f39aea3561a (patch) | |
tree | c06abf8806a9c6d10fee3323db3b705d87ae3a9c /help3xsl | |
parent | c623dfe855734c75875f7333e49b1c7cd302988e (diff) |
Remove redundant image title attributes
From web accessiblity evaluation tool:
The title attribute value is used to provide advisory information.
It typically appears when the user hovers the mouse over an element.
The advisory information presented should not be identical to or
very similar to the element text or alternative text.
Change-Id: Id95d6661d47d7c28ea8a3f6a43ecc1b12c579a95
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132265
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/online_transform.xsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index 224aaed9e3..0751d7a862 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -821,7 +821,7 @@ </xsl:choose> </xsl:variable> <div class="{local-name()}"> - <div class="noteicon"><img src="{$imgsrc}" alt="{local-name()}" title="{local-name()}" style="{$iconsizestyle}"/></div> + <div class="noteicon"><img src="{$imgsrc}" alt="{local-name()}" style="{$iconsizestyle}"/></div> <div class="notetext"><p id="{@id}"><xsl:apply-templates /></p></div> </div> <br/> @@ -835,7 +835,7 @@ </xsl:choose> </xsl:variable> <div class="{local-name()}"> - <div class="noteicon"><img src="{$imgsrc}" alt="{local-name()}" title="{local-name()}" style="{$iconsizestyle}"/></div> + <div class="noteicon"><img src="{$imgsrc}" alt="{local-name()}" style="{$iconsizestyle}"/></div> <div class="notetext"><p id="{@id}"><xsl:apply-templates mode="embedded"/></p></div> </div> <br/> @@ -1055,7 +1055,7 @@ <xsl:apply-templates select="$doc//variable[@id=$anchor]" mode="embedded"/> </xsl:variable> <div class="{$type}"> - <div class="noteicon"><img src="{$imgsrc}" alt="{$alt}" title="{$alt}" style="{$iconsizestyle}"/></div> + <div class="noteicon"><img src="{$imgsrc}" alt="{$alt}" style="{$iconsizestyle}"/></div> <div class="notetext"><p><xsl:apply-templates /></p></div> </div> <br/> @@ -1245,7 +1245,7 @@ <xsl:call-template name="convert2px"><xsl:with-param name="value" select="@height"/></xsl:call-template> </xsl:if> </xsl:variable> - <img src="{$src2}" class="{$imagestyle}" alt="{$alt}" title="{$alt}" style="{concat('width:',$width,';height:',$height)}" itemprop="{$property}" itemscope="true" itemtype="http://schema.org/ImageObject"/> + <img src="{$src2}" class="{$imagestyle}" alt="{$alt}" style="{concat('width:',$width,';height:',$height)}" itemprop="{$property}" itemscope="true" itemtype="http://schema.org/ImageObject"/> </xsl:template> <!-- Insert an object --> |