r13624 - Products.Archetypes/branches/1.5/Products/Archetypes/skins/archetypes/widgets

"Michael Smith" <[email protected]> Tue, 10 May 2011 00:10:35 +0000
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: msmith64
Date: Tue May 10 00:10:34 2011
New Revision: 13624

Modified:
   Products.Archetypes/branches/1.5/Products/Archetypes/skins/archetypes/widgets/file.pt
   Products.Archetypes/branches/1.5/Products/Archetypes/skins/archetypes/widgets/image.pt
Log:
Add empty alt tags for File and Image widgets. Fixes #11726.

Modified: Products.Archetypes/branches/1.5/Products/Archetypes/skins/archetypes/widgets/file.pt
==============================================================================
--- Products.Archetypes/branches/1.5/Products/Archetypes/skins/archetypes/widgets/file.pt	(original)
+++ Products.Archetypes/branches/1.5/Products/Archetypes/skins/archetypes/widgets/file.pt	Tue May 10 00:10:34 2011
@@ -21,7 +21,7 @@
 
           <tal:link condition="showLink">
               <a href="" tal:attributes="href string:${here/absolute_url}/at_download/$fieldName">
-                <img tal:condition="icon" src=""
+                <img tal:condition="icon" src="" alt=""
                      tal:attributes="src string:${here/portal_url}/$icon"/>
                 <tal:filename tal:replace="filename | fieldName"/>
               </a>
@@ -32,7 +32,7 @@
               </span>
           </tal:link>
           <span tal:condition="not:showLink">
-              <img tal:condition="icon" src=""
+              <img tal:condition="icon" src="" alt=""
                    tal:attributes="src string:${here/portal_url}/$icon"/>
               <tal:filename tal:replace="filename | fieldName"/>
               <span class="discreet">

Modified: Products.Archetypes/branches/1.5/Products/Archetypes/skins/archetypes/widgets/image.pt
==============================================================================
--- Products.Archetypes/branches/1.5/Products/Archetypes/skins/archetypes/widgets/image.pt	(original)
+++ Products.Archetypes/branches/1.5/Products/Archetypes/skins/archetypes/widgets/image.pt	Tue May 10 00:10:34 2011
@@ -33,7 +33,7 @@
                            filename unit/filename | nothing"
                    condition="python:size &gt; 0">
 
-            <img tal:condition="icon" src=""
+            <img tal:condition="icon" src="" alt=""
                  tal:attributes="src string:${here/portal_url}/$icon"/>
               <a tal:attributes="href unit/absolute_url" i18n:translate="label_current_image">Current image</a>
 

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay