Fixed an accessibility issue
This commit is contained in:
parent
0ef5b6d39b
commit
be51cb9777
@ -22,7 +22,7 @@ component LoggedInMenu
|
|||||||
NavigationButtonNoAJAX("Logout", "/logout", "sign-out")
|
NavigationButtonNoAJAX("Logout", "/logout", "sign-out")
|
||||||
|
|
||||||
component NavigationButton(name string, target string, icon string)
|
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
|
.navigation-button
|
||||||
Icon(icon)
|
Icon(icon)
|
||||||
span.navigation-text= name
|
span.navigation-text= name
|
||||||
|
Loading…
Reference in New Issue
Block a user