mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 21:11:16 +00:00
Merge pull request #322 from mouse-reeve/voiceover-review
Fixes "notifications" typo and adds alt text to avatars
This commit is contained in:
commit
a8afc3fc36
2 changed files with 4 additions and 3 deletions
|
@ -23,7 +23,7 @@
|
||||||
<nav class="navbar" role="navigation" aria-label="main navigation">
|
<nav class="navbar" role="navigation" aria-label="main navigation">
|
||||||
<div class="navbar-brand">
|
<div class="navbar-brand">
|
||||||
<a class="navbar-item" href="/">
|
<a class="navbar-item" href="/">
|
||||||
<img class="image logo" src="/static/images/logo-small.png" alt="BookWyrm">
|
<img class="image logo" src="/static/images/logo-small.png" alt="Home page">
|
||||||
</a>
|
</a>
|
||||||
<form class="navbar-item" action="/search/">
|
<form class="navbar-item" action="/search/">
|
||||||
<div class="field is-grouped">
|
<div class="field is-grouped">
|
||||||
|
@ -89,7 +89,7 @@
|
||||||
<div class="tags has-addons">
|
<div class="tags has-addons">
|
||||||
<span class="tag is-medium">
|
<span class="tag is-medium">
|
||||||
<span class="icon icon-bell">
|
<span class="icon icon-bell">
|
||||||
<span class="is-sr-only">Notitications</span>
|
<span class="is-sr-only">Notifications</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
{% if request.user|notification_count %}
|
{% if request.user|notification_count %}
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
<img class="avatar image {% if large %}is-96x96{% else %}is-32x32{% endif %}" src="{% if user.avatar %}/images/{{ user.avatar }}{% else %}/static/images/default_avi.jpg{% endif %}">
|
{% load fr_display %}
|
||||||
|
<img class="avatar image {% if large %}is-96x96{% else %}is-32x32{% endif %}" src="{% if user.avatar %}/images/{{ user.avatar }}{% else %}/static/images/default_avi.jpg{% endif %}" alt="avatar for {{ user|username }}">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue