mcnamara    2004/05/02 17:20:02

  Modified:    java/xdocs/style/stylesheets designdoc2html.xsl
  Log:
  Provide alternative text for images to address accessibility issues.
  All images should contain a short alternative text description that represents
  the function of the graphic.
  
  Revision  Changes    Path
  1.4       +2 -2      xml-xalan/java/xdocs/style/stylesheets/designdoc2html.xsl
  
  Index: designdoc2html.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/xdocs/style/stylesheets/designdoc2html.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- designdoc2html.xsl        6 Jan 2002 15:52:00 -0000       1.3
  +++ designdoc2html.xsl        3 May 2004 00:20:02 -0000       1.4
  @@ -19,7 +19,7 @@
               topmargin="4" leftmargin="4" marginwidth="4" marginheight="4"
               bgcolor="#ffffff">
            <xsl:variable name="topimage" select="./p/img/@src"/>
  -         <h1><a href="http://xml.apache.org";><img 
src="images/{$topimage}"/></a>&#160;&#160;
  +         <h1><a href="http://xml.apache.org";><img src="images/{$topimage}" 
alt="[EMAIL PROTECTED]"/></a>&#160;&#160;
            <xsl:value-of select="@title"/></h1><hr/>
                <xsl:apply-templates/>
            <hr/>
  @@ -226,7 +226,7 @@
     </xsl:template>
   
     <xsl:template match="/s1/s2//img">
  -    <center><img src="images/[EMAIL PROTECTED]"/></center>
  +    <center><img src="images/[EMAIL PROTECTED]" alt="[EMAIL 
PROTECTED]"/></center>
     </xsl:template>
   
     <xsl:template match="resource-ref">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to