fix: add role=none to li elements in payment filter for ARIA compliance

This commit is contained in:
Moritz 2025-12-02 13:51:31 +01:00
parent 671e6ce804
commit 354029c9cc
Signed by: moritz
GPG key ID: 1020A035E5DD0824

View file

@ -60,7 +60,7 @@ defmodule MvWeb.Components.PaymentFilterComponent do
phx-click-away="close_dropdown"
phx-target={@myself}
>
<li>
<li role="none">
<button
type="button"
role="menuitemradio"
@ -74,7 +74,7 @@ defmodule MvWeb.Components.PaymentFilterComponent do
{gettext("All")}
</button>
</li>
<li>
<li role="none">
<button
type="button"
role="menuitemradio"
@ -88,7 +88,7 @@ defmodule MvWeb.Components.PaymentFilterComponent do
{gettext("Paid")}
</button>
</li>
<li>
<li role="none">
<button
type="button"
role="menuitemradio"