help3xsl/online_transform.xsl |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 602281f118a8b8218bef24511d835f39aea3561a
Author:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
AuthorDate: Tue Mar 29 12:56:23 2022 +0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Tue Mar 29 20:48:37 2022 +0200

    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.hal...@libreoffice.org>

diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 224aaed9e..0751d7a86 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 -->

Reply via email to