improve accessibility even more
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
2023-03-19 15:28:53 -04:00
parent 4e17739b4d
commit a03f8ebb8a
24 changed files with 290 additions and 158 deletions

View File

@ -11,7 +11,8 @@
>
<%= text_input(f, :title,
class: "input input-primary",
placeholder: gettext("title")
placeholder: gettext("title"),
aria_label: gettext("title")
) %>
<%= error_tag(f, :title) %>
@ -20,7 +21,8 @@
class: "input input-primary h-64 min-h-64",
phx_hook: "MaintainAttrs",
phx_update: "ignore",
placeholder: gettext("use [[context-slug]] to link to a context")
placeholder: gettext("use [[context-slug]] to link to a context"),
aria_label: gettext("use [[context-slug]] to link to a context")
) %>
<%= error_tag(f, :content) %>