diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-20 09:46:31 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-20 09:46:31 -0400 |
commit | f614bb5bf24ca063ab99994776fab9fc54bea4d9 (patch) | |
tree | ced4edf7b3758021dcc2d06ddfbc8076d66b79cb /actions/avatar.php | |
parent | e70b7d3a6c82358e38a65eade5753b5ba33ab51a (diff) |
add alt to all images
darcs-hash:20080520134631-84dde-249574ec7e16108cf47f3001c2bc726bdc6f8751.gz
Diffstat (limited to 'actions/avatar.php')
-rw-r--r-- | actions/avatar.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/actions/avatar.php b/actions/avatar.php index 00b7ea6c0..53595af12 100644 --- a/actions/avatar.php +++ b/actions/avatar.php @@ -36,7 +36,8 @@ class AvatarAction extends SettingsAction { common_element('img', array('src' => $original->url, 'class' => 'avatar original', 'width' => $original->width, - 'height' => $original->height)); + 'height' => $original->height, + 'alt' => $user->nickname)); } $avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE); @@ -45,7 +46,8 @@ class AvatarAction extends SettingsAction { common_element('img', array('src' => $avatar->url, 'class' => 'avatar profile', 'width' => AVATAR_PROFILE_SIZE, - 'height' => AVATAR_PROFILE_SIZE)); + 'height' => AVATAR_PROFILE_SIZE, + 'alt' => $user->nickname)); } common_element_start('form', array('enctype' => 'multipart/form-data', |