Skip to content

Commit

Permalink
Add img alt text to avatar on profile page.
Browse files Browse the repository at this point in the history
Part of #32.
  • Loading branch information
lukegb committed Jul 29, 2017
1 parent 43708c8 commit a138ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spongeauth/templates/accounts/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h4 class="panel-title">{% trans "User Information" %}</h4>
<h4 class="panel-title">{% trans "Avatar" %}</h4>
</div>
<div class="panel-body">
<img src="{{ user.avatar.get_absolute_url }}" class="pull-right avatar-view">
<img src="{{ user.avatar.get_absolute_url }}" class="pull-right avatar-view" alt="{{ user.username }}'s avatar">
{% crispy avatar_form %}
</div>
</div>
Expand Down

0 comments on commit a138ea4

Please sign in to comment.