Improve accessibility and make profiles appear a little more cleanly - the full username and site domain are available to screen readers, but aren't displayed by default, which is much less cluttered

This commit is contained in:
Danielle McLean 2017-12-11 09:38:29 +11:00
parent 97f52a713b
commit b45661fa41
Signed by: 00dani
GPG Key ID: 5A5D2D1AFF12EEC5
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@
<div class="card-footer">
<ul class="profiles">
{% for profile in user.profiles.all %}<li>
<a class="u-url" rel="me" href="{{ profile.url }}"><i class="{{ profile.site.icon }}"></i> {{ profile.name }}</a>
<a class="u-url" rel="me" href="{{ profile.url }}" title="{{ profile }}"><i class="{{ profile.site.icon }}"></i> <span class="sr-only">{{ profile }}</span></a>
</li>{% endfor %}
</ul>
</div>