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:
parent
97f52a713b
commit
b45661fa41
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
<ul class="profiles">
|
<ul class="profiles">
|
||||||
{% for profile in user.profiles.all %}<li>
|
{% 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 %}
|
</li>{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue