fix: add role=none to li elements in payment filter for ARIA compliance
This commit is contained in:
parent
5d69fbe387
commit
f5a525d8ff
1 changed files with 3 additions and 3 deletions
|
|
@ -60,7 +60,7 @@ defmodule MvWeb.Components.PaymentFilterComponent do
|
||||||
phx-click-away="close_dropdown"
|
phx-click-away="close_dropdown"
|
||||||
phx-target={@myself}
|
phx-target={@myself}
|
||||||
>
|
>
|
||||||
<li>
|
<li role="none">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
role="menuitemradio"
|
role="menuitemradio"
|
||||||
|
|
@ -74,7 +74,7 @@ defmodule MvWeb.Components.PaymentFilterComponent do
|
||||||
{gettext("All")}
|
{gettext("All")}
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li role="none">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
role="menuitemradio"
|
role="menuitemradio"
|
||||||
|
|
@ -88,7 +88,7 @@ defmodule MvWeb.Components.PaymentFilterComponent do
|
||||||
{gettext("Paid")}
|
{gettext("Paid")}
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li role="none">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
role="menuitemradio"
|
role="menuitemradio"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue