forked from shibao/cannery
improve modal accessibility
This commit is contained in:
parent
355752598c
commit
e5e5449e8b
@ -6,6 +6,7 @@
|
|||||||
p-8 flex flex-col justify-center items-center cursor-auto"
|
p-8 flex flex-col justify-center items-center cursor-auto"
|
||||||
style="background-color: rgba(0,0,0,0.4);"
|
style="background-color: rgba(0,0,0,0.4);"
|
||||||
phx-remove={hide_modal()}
|
phx-remove={hide_modal()}
|
||||||
|
aria-label={gettext("Close modal")}
|
||||||
>
|
>
|
||||||
<span class="hidden"></span>
|
<span class="hidden"></span>
|
||||||
</.link>
|
</.link>
|
||||||
@ -31,6 +32,7 @@
|
|||||||
text-gray-500 hover:text-gray-800
|
text-gray-500 hover:text-gray-800
|
||||||
transition-all duration-500 ease-in-out"
|
transition-all duration-500 ease-in-out"
|
||||||
phx-remove={hide_modal()}
|
phx-remove={hide_modal()}
|
||||||
|
aria-label={gettext("Close modal")}
|
||||||
>
|
>
|
||||||
<i class="fa-fw fa-lg fas fa-times"></i>
|
<i class="fa-fw fa-lg fas fa-times"></i>
|
||||||
</.link>
|
</.link>
|
||||||
|
@ -1254,3 +1254,9 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Current Count"
|
msgid "Current Count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:9
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:35
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Close modal"
|
||||||
|
msgstr ""
|
||||||
|
@ -1237,3 +1237,9 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Current Count"
|
msgid "Current Count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:9
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:35
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Close modal"
|
||||||
|
msgstr ""
|
||||||
|
@ -1237,3 +1237,9 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Current Count"
|
msgid "Current Count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:9
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:35
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Close modal"
|
||||||
|
msgstr ""
|
||||||
|
@ -1256,3 +1256,9 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Current Count"
|
msgid "Current Count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:9
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:35
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Close modal"
|
||||||
|
msgstr ""
|
||||||
|
@ -1257,3 +1257,9 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Current Count"
|
msgid "Current Count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:9
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:35
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Close modal"
|
||||||
|
msgstr ""
|
||||||
|
@ -1248,3 +1248,9 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Current Count"
|
msgid "Current Count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:9
|
||||||
|
#: lib/cannery_web/components/core_components/modal.html.heex:35
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Close modal"
|
||||||
|
msgstr ""
|
||||||
|
Loading…
Reference in New Issue
Block a user