r104166 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104165‎ | r104166 | r104167 >
Date:14:43, 24 November 2011
Author:petrb
Status:deferred
Tags:
Comment:
Added alt text to img
Modified paths:
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php
@@ -34,7 +34,7 @@
3535 public static function GetImageHtml( $mode ) {
3636 global $wgExtensionAssetsPath, $wgOnlineStatusBarIcon;
3737 $icon = "$wgExtensionAssetsPath/OnlineStatusBar/{$wgOnlineStatusBarIcon[$mode]}";
38 - return Html::element( 'img', array( 'src' => $icon ) );
 38+ return Html::element( 'img', array( 'src' => $icon, 'alt' => $mode ) );
3939 }
4040
4141

Follow-up revisions

RevisionCommit summaryAuthorDate
r104168r104166 replaced with translated text rather than raw meta-statuspetrb14:48, 24 November 2011

Status & tagging log