fix: axe-core critical and major issues
This commit is contained in:
parent
515cd76cee
commit
23d1ca8a32
6 changed files with 201 additions and 113 deletions
|
|
@ -10,8 +10,9 @@ defmodule MvWeb.UserLive.Show do
|
|||
<:subtitle>{gettext("This is a user record from your database.")}</:subtitle>
|
||||
|
||||
<:actions>
|
||||
<.button navigate={~p"/users"}>
|
||||
<.button navigate={~p"/users"} aria-label={gettext("Back to users list")}>
|
||||
<.icon name="hero-arrow-left" />
|
||||
<span class="sr-only">{gettext("Back to users list")}</span>
|
||||
</.button>
|
||||
<.button variant="primary" navigate={~p"/users/#{@user}/edit?return_to=show"}>
|
||||
<.icon name="hero-pencil-square" /> {gettext("Edit User")}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue