summaryrefslogtreecommitdiff
path: root/templates/layouts
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-28 20:26:15 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-28 20:26:15 +0100
commitbd8a825138d723f682596eefac735ef8f0bdc22c (patch)
tree36b41c9335dd2807f0ef908204d4f558e1eb75eb /templates/layouts
parentfca6a5df6ccf2424773d27f86f308073d0555f37 (diff)
Add aria labels where needed, commit 1 of many (#37)
Diffstat (limited to 'templates/layouts')
-rw-r--r--templates/layouts/default.html.ep8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 73c3440..65acccf 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -89,14 +89,14 @@
</div>
</li>
<li class="waves-effect waves-light">
- <a onClick="javascript:toggleTheme()"><i class="material-icons">invert_colors</i></a>
+ <a onClick="javascript:toggleTheme()"><i class="material-icons" aria-label="Farbschema invertieren">invert_colors</i></a>
</li>
% if (is_user_authenticated()) {
- <li class="<%= navbar_class('/history') %>"><a href='/history' title="History"><i class="material-icons">history</i></a></li>
- <li class="<%= navbar_class('/account') %>"><a href="/account" title="Account"><i class="material-icons">account_circle</i></a></li>
+ <li class="<%= navbar_class('/history') %>"><a href='/history' title="History"><i class="material-icons" aria-label="Vergangene Zugfahrten">history</i></a></li>
+ <li class="<%= navbar_class('/account') %>"><a href="/account" title="Account"><i class="material-icons" aria-label="Account">account_circle</i></a></li>
% }
% else {
- <li class="<%= navbar_class('/about') %>"><a href='/about' title="About"><i class="material-icons">info_outline</i></a></li>
+ <li class="<%= navbar_class('/about') %>"><a href='/about' title="About"><i class="material-icons" aria-label="Über Travelynx">info_outline</i></a></li>
% }
</ul>
</div>