fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-11-17 11:34 am

[dw-free] Spacer images in inbox need alt text

[commit: http://hg.dwscoalition.org/dw-free/rev/909f01bd4446]

http://bugs.dwscoalition.org/show_bug.cgi?id=3239

Handle spacer images (which just provide the separation between folders and
the main inbox)

Patch by [personal profile] fu.

Files modified:
  • htdocs/inbox/compose.bml
  • htdocs/inbox/index.bml
--------------------------------------------------------------------------------
diff -r fdfd00a92fe6 -r 909f01bd4446 htdocs/inbox/compose.bml
--- a/htdocs/inbox/compose.bml	Wed Nov 17 17:02:30 2010 +0800
+++ b/htdocs/inbox/compose.bml	Wed Nov 17 19:34:04 2010 +0800
@@ -213,7 +213,7 @@ body<=
     $body .= LJ::Widget::InboxFolderNav->render();
     $body .= qq{
         </td>
-        <td width="1" height="100%" style="border-left: 1px solid #ccc"><img src="$LJ::IMGPREFIX/spacer.gif"></td>
+        <td width="1" height="100%" style="border-left: 1px solid #ccc"><img src="$LJ::IMGPREFIX/spacer.gif" alt="" /></td>
         <td valign="top" style="padding-left: 10px; width: 100%;">
     };
 
diff -r fdfd00a92fe6 -r 909f01bd4446 htdocs/inbox/index.bml
--- a/htdocs/inbox/index.bml	Wed Nov 17 17:02:30 2010 +0800
+++ b/htdocs/inbox/index.bml	Wed Nov 17 19:34:04 2010 +0800
@@ -146,7 +146,7 @@ body<=
 
     $body .= qq{
         </td>
-        <td width="1" height="100%" style="border-left: 1px solid #ccc"><img src="$LJ::IMGPREFIX/spacer.gif"></td>
+        <td width="1" height="100%" style="border-left: 1px solid #ccc"><img src="$LJ::IMGPREFIX/spacer.gif" alt="" /></td>
         <td id="table_inbox_messages" valign="top" style="padding-left: 10px; width: 100%;">
             <div class="inbox_newitems pkg">
                 <span class="esnlinks" style="float: left"><a href="$LJ::SITEROOT/inbox/?page=$page$viewarg$itemidarg" id="RefreshLink"><?_ml inbox.refresh _ml?></a> |
--------------------------------------------------------------------------------