From 7fafb4d0d28bef3902da4cc172cd53c2376aeb03 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 5 Jun 2014 09:23:13 +0200 Subject: Remove leftover from merge; set alt text for contact photo --- program/js/treelist.js | 1 - program/steps/mail/show.inc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/program/js/treelist.js b/program/js/treelist.js index 65f5fd4f4..958ae81e2 100644 --- a/program/js/treelist.js +++ b/program/js/treelist.js @@ -780,7 +780,6 @@ function rcube_treelist_widget(node, p) focus_next(parent, dir, true); } } ->>>>>>> dev-accessibility } diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index 0ebdd6277..e6ab4891b 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -356,5 +356,5 @@ function rcmail_message_contactphoto($attrib) $photo_img = $placeholder ? $placeholder : 'program/resources/blank.gif'; } - return html::img(array('src' => $photo_img) + $attrib); + return html::img(array('src' => $photo_img, 'alt' => $RCMAIL->gettext('contactphoto')) + $attrib); } -- cgit v1.2.3