Fixed an accessibility issue

This commit is contained in:
Eduard Urbach 2017-06-17 13:05:52 +02:00
parent 0ef5b6d39b
commit be51cb9777

View File

@ -22,7 +22,7 @@ component LoggedInMenu
NavigationButtonNoAJAX("Logout", "/logout", "sign-out")
component NavigationButton(name string, target string, icon string)
a.navigation-link.ajax(href=target)
a.navigation-link.ajax(href=target, aria-label=name)
.navigation-button
Icon(icon)
span.navigation-text= name