Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.body.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | public static function GetImageHtml( $mode ) { |
36 | 36 | global $wgExtensionAssetsPath, $wgOnlineStatusBarIcon; |
37 | 37 | $icon = "$wgExtensionAssetsPath/OnlineStatusBar/{$wgOnlineStatusBarIcon[$mode]}"; |
38 | | - return Html::element( 'img', array( 'src' => $icon ) ); |
| 38 | + return Html::element( 'img', array( 'src' => $icon, 'alt' => $mode ) ); |
39 | 39 | } |
40 | 40 | |
41 | 41 | |