improve accessibility even more
Some checks are pending
continuous-integration/drone/push Build is running
Some checks are pending
continuous-integration/drone/push Build is running
This commit is contained in:
@ -40,7 +40,7 @@ defmodule MemexWeb.Components.ContextsTableComponent do
|
||||
if actions == [] or current_user |> is_nil() do
|
||||
[]
|
||||
else
|
||||
[%{label: nil, key: :actions, sortable: false}]
|
||||
[%{label: gettext("actions"), key: :actions, sortable: false}]
|
||||
end
|
||||
|
||||
columns = [
|
||||
|
@ -6,6 +6,7 @@
|
||||
p-8 flex flex-col justify-center items-center cursor-auto"
|
||||
style="background-color: rgba(0,0,0,0.4);"
|
||||
phx-remove={hide_modal()}
|
||||
aria-label={gettext("close modal")}
|
||||
>
|
||||
<span class="hidden"></span>
|
||||
</.link>
|
||||
@ -30,6 +31,7 @@
|
||||
text-gray-500 hover:text-gray-800
|
||||
transition-all duration-500 ease-in-out"
|
||||
phx-remove={hide_modal()}
|
||||
aria-label={gettext("close modal")}
|
||||
>
|
||||
<i class="fa-fw fa-lg fas fa-times"></i>
|
||||
</.link>
|
||||
|
@ -72,6 +72,7 @@
|
||||
href={Routes.user_session_path(Endpoint, :delete)}
|
||||
method="delete"
|
||||
data-confirm={dgettext("prompts", "are you sure you want to log out?")}
|
||||
aria-label={gettext("log out")}
|
||||
>
|
||||
<i class="fas fa-sign-out-alt"></i>
|
||||
</.link>
|
||||
@ -85,6 +86,7 @@
|
||||
<.link
|
||||
navigate={Routes.live_dashboard_path(Endpoint, :home)}
|
||||
class="text-primary-400 hover:underline"
|
||||
aria-label={gettext("live dashboard")}
|
||||
>
|
||||
<i class="fas fa-gauge"></i>
|
||||
</.link>
|
||||
|
@ -40,7 +40,7 @@ defmodule MemexWeb.Components.NotesTableComponent do
|
||||
if actions == [] or current_user |> is_nil() do
|
||||
[]
|
||||
else
|
||||
[%{label: nil, key: :actions, sortable: false}]
|
||||
[%{label: gettext("actions"), key: :actions, sortable: false}]
|
||||
end
|
||||
|
||||
columns = [
|
||||
|
@ -40,7 +40,7 @@ defmodule MemexWeb.Components.PipelinesTableComponent do
|
||||
if actions == [] or current_user |> is_nil() do
|
||||
[]
|
||||
else
|
||||
[%{label: nil, key: :actions, sortable: false}]
|
||||
[%{label: gettext("actions"), key: :actions, sortable: false}]
|
||||
end
|
||||
|
||||
columns = [
|
||||
|
Reference in New Issue
Block a user