fix: axe-core critical and major issues

This commit is contained in:
Moritz 2025-09-26 20:33:13 +02:00
parent 515cd76cee
commit 23d1ca8a32
Signed by: moritz
GPG key ID: 1020A035E5DD0824
6 changed files with 201 additions and 113 deletions

View file

@ -11,8 +11,9 @@ defmodule MvWeb.MemberLive.Show do
<:subtitle>{gettext("This is a member record from your database.")}</:subtitle>
<:actions>
<.button navigate={~p"/members"}>
<.button navigate={~p"/members"} aria-label={gettext("Back to members list")}>
<.icon name="hero-arrow-left" />
<span class="sr-only">{gettext("Back to members list")}</span>
</.button>
<.button variant="primary" navigate={~p"/members/#{@member}/edit?return_to=show"}>
<.icon name="hero-pencil-square" /> {gettext("Edit Member")}