diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-01-28 20:26:15 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-01-28 20:26:15 +0100 |
commit | bd8a825138d723f682596eefac735ef8f0bdc22c (patch) | |
tree | 36b41c9335dd2807f0ef908204d4f558e1eb75eb /templates/layouts | |
parent | fca6a5df6ccf2424773d27f86f308073d0555f37 (diff) |
Add aria labels where needed, commit 1 of many (#37)
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/default.html.ep | 8 |
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> |